From b93df9508927f340a5c81c3b52d511816a1af4da Mon Sep 17 00:00:00 2001 From: unimatrixgit <95320811+unimatrixgit@users.noreply.github.com> Date: Mon, 30 Nov 2026 18:32:08 +0100 Subject: [PATCH] Integrate DuneChest patch 4 --- DuneChest/build.gradle.kts | 2 +- .../com/example/dunechest/StorageModule.java | 53 ++++++++++++------ DuneChest/src/main/resources/plugin.yml | 2 +- DuneChest/tools/ender_chest_art.py | 17 +++--- .../textures/block/ender_chest_bottom.png | Bin 923 -> 1118 bytes .../textures/block/ender_chest_front.png | Bin 791 -> 860 bytes .../textures/block/ender_chest_side.png | Bin 769 -> 901 bytes .../textures/block/ender_chest_top.png | Bin 748 -> 888 bytes tools/install-plugin-fleet.py | 8 ++- 9 files changed, 55 insertions(+), 27 deletions(-) diff --git a/DuneChest/build.gradle.kts b/DuneChest/build.gradle.kts index 796861c0..4216167d 100644 --- a/DuneChest/build.gradle.kts +++ b/DuneChest/build.gradle.kts @@ -1,6 +1,6 @@ plugins { java } group = "com.example" -version = "1.0.1" +version = "1.0.2" repositories { mavenCentral() maven("https://repo.papermc.io/repository/maven-public/") diff --git a/DuneChest/src/main/java/com/example/dunechest/StorageModule.java b/DuneChest/src/main/java/com/example/dunechest/StorageModule.java index e6115af3..3e481d16 100644 --- a/DuneChest/src/main/java/com/example/dunechest/StorageModule.java +++ b/DuneChest/src/main/java/com/example/dunechest/StorageModule.java @@ -101,6 +101,13 @@ public final class StorageModule implements Listener, CommandExecutor { @EventHandler(ignoreCancelled = true) public void explode(BlockExplodeEvent e) { e.blockList().removeIf(b -> data.at(b) != null); } // ---------- interaction ---------- + /** The wrench is built on a knowledge book, which vanilla consumes on right-click. Never let any right-click use it up. */ + @EventHandler(priority = EventPriority.LOWEST) public void wrenchNotConsumed(PlayerInteractEvent e) { + var a = e.getAction(); if (a != org.bukkit.event.block.Action.RIGHT_CLICK_BLOCK && a != org.bukkit.event.block.Action.RIGHT_CLICK_AIR) return; + ItemStack held = e.getItem(); if (held == null || !StorageItems.WRENCH.equals(items.typeOf(held))) return; + e.setUseItemInHand(Event.Result.DENY); + } + /** Wrench: left-click a storage block to open its panel (works on Bedrock, and picks the exact block when several are adjacent). */ @EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true) public void wrench(PlayerInteractEvent e) { if (e.getAction() != org.bukkit.event.block.Action.LEFT_CLICK_BLOCK || e.getClickedBlock() == null) return; @@ -163,34 +170,48 @@ public final class StorageModule implements Listener, CommandExecutor { } private static String colourName(int c) { String n = DyeColor.values()[StorageRules.wrap(c)].name().toLowerCase(Locale.ROOT).replace('_', ' '); return Character.toUpperCase(n.charAt(0)) + n.substring(1); } + private static ChatColor chat(int c) { + return switch (DyeColor.values()[StorageRules.wrap(c)]) { + case WHITE -> ChatColor.WHITE; case ORANGE -> ChatColor.GOLD; case MAGENTA -> ChatColor.LIGHT_PURPLE; case LIGHT_BLUE -> ChatColor.AQUA; + case YELLOW -> ChatColor.YELLOW; case LIME -> ChatColor.GREEN; case PINK -> ChatColor.LIGHT_PURPLE; case GRAY -> ChatColor.DARK_GRAY; + case LIGHT_GRAY -> ChatColor.GRAY; case CYAN -> ChatColor.DARK_AQUA; case PURPLE -> ChatColor.DARK_PURPLE; case BLUE -> ChatColor.BLUE; + case BROWN -> ChatColor.GOLD; case GREEN -> ChatColor.DARK_GREEN; case RED -> ChatColor.RED; case BLACK -> ChatColor.DARK_GRAY; + }; + } + private String coloured(int[] c) { return chat(c[0]) + colourName(c[0]) + ChatColor.GRAY + " \u00b7 " + chat(c[1]) + colourName(c[1]) + ChatColor.GRAY + " \u00b7 " + chat(c[2]) + colourName(c[2]); } + private void tuneMenu(Player pl, String key) { var p = data.blocks.get(key); if (p == null || p.kind != StorageData.Kind.ENDER_CHEST) return; if (!canUse(pl, p)) { say(pl, "This Ender Chest is private."); return; } Inventory model = Bukkit.createInventory(null, 27); Map actions = new HashMap<>(); - int[] slots = {11, 13, 15}; + // Info line first, then the three pads, then the actions: the renderer lays tiles out in slot order. + model.setItem(4, legacyIcon(Material.ENDER_EYE, ChatColor.LIGHT_PURPLE + "Frequency", coloured(p.colors), + p.priv ? ChatColor.YELLOW + "Private" + ChatColor.GRAY + " \u00b7 only you can open it" : ChatColor.GREEN + "Shared" + ChatColor.GRAY + " \u00b7 every chest with these colours links")); + int[] slots = {10, 11, 12}; for (int i = 0; i < 3; i++) { final int pad = i; - model.setItem(slots[i], legacyIcon(wool(p.colors[i]), "Pad " + (i + 1) + ": " + colourName(p.colors[i]), "Click to choose a colour")); + model.setItem(slots[i], legacyIcon(wool(p.colors[i]), ChatColor.GOLD + "Pad " + (i + 1), chat(p.colors[i]) + colourName(p.colors[i]), "Click to change")); actions.put(slots[i], () -> pickerMenu(pl, key, pad)); } - model.setItem(4, legacyIcon(Material.ENDER_EYE, "Frequency", describe(p.colors), p.priv ? "Private" : "Shared by everyone with this frequency")); - model.setItem(22, legacyIcon(Material.DIAMOND, p.priv ? "Private - click to share" : "Shared - click to make private", "Private chests only open for their owner")); - actions.put(22, () -> { var q = data.blocks.get(key); if (q == null) return; q.priv = !q.priv; q.owner = q.priv ? pl.getUniqueId() : null; changed(key, q); tuneMenu(pl, key); }); - model.setItem(26, legacyIcon(Material.BARREL, "Open storage", "27 slots shared by this frequency")); - actions.put(26, () -> { var q = data.blocks.get(key); if (q != null && canUse(pl, q)) pl.openInventory(data.inventory(freq(q))); }); + model.setItem(14, legacyIcon(Material.DIAMOND, p.priv ? ChatColor.YELLOW + "Private" : ChatColor.GREEN + "Shared", p.priv ? "Click to share it" : "Click to make it private")); + actions.put(14, () -> { var q = data.blocks.get(key); if (q == null) return; q.priv = !q.priv; q.owner = q.priv ? pl.getUniqueId() : null; changed(key, q); tuneMenu(pl, key); }); + model.setItem(15, legacyIcon(Material.BARREL, ChatColor.AQUA + "Open storage", "27 slots shared by this frequency")); + actions.put(15, () -> { var q = data.blocks.get(key); if (q != null && canUse(pl, q)) pl.openInventory(data.inventory(freq(q))); }); com.example.dunegui.NativeMenus.inventory(plugin, pl, "Ender Chest", model, actions); } private void pickerMenu(Player pl, String key, int pad) { var p = data.blocks.get(key); if (p == null || !canUse(pl, p)) return; Inventory model = Bukkit.createInventory(null, 27); Map actions = new HashMap<>(); - for (int c = 0; c < 16; c++) { final int colour = c; int slot = (c / 8) * 9 + (c % 8) + 1 + 0; - ItemStack icon = legacyIcon(dye(c), colourName(c) + (p.colors[pad] == c ? " (current)" : ""), "Set pad " + (pad + 1) + " to " + colourName(c).toLowerCase(Locale.ROOT)); - if (p.colors[pad] == c) { ItemMeta m = icon.getItemMeta(); m.setEnchantmentGlintOverride(true); icon.setItemMeta(m); } + model.setItem(4, legacyIcon(Material.ENDER_EYE, ChatColor.LIGHT_PURPLE + "Pad " + (pad + 1), "Now " + chat(p.colors[pad]) + colourName(p.colors[pad]), "Pick a colour below")); + for (int c = 0; c < 16; c++) { final int colour = c; int slot = 9 + c; + boolean cur = p.colors[pad] == c; + ItemStack icon = legacyIcon(dye(c), chat(c) + colourName(c) + (cur ? ChatColor.GREEN + " (current)" : ""), cur ? "Already set" : "Set pad " + (pad + 1) + " to this colour"); + if (cur) { ItemMeta m = icon.getItemMeta(); m.setEnchantmentGlintOverride(true); icon.setItemMeta(m); } model.setItem(slot, icon); actions.put(slot, () -> { var q = data.blocks.get(key); if (q == null) return; q.colors[pad] = colour; changed(key, q); tuneMenu(pl, key); }); } - model.setItem(22, legacyIcon(Material.ARROW, "Back")); - actions.put(22, () -> tuneMenu(pl, key)); - com.example.dunegui.NativeMenus.inventory(plugin, pl, "Ender Chest - Pad " + (pad + 1), model, actions); + model.setItem(26, legacyIcon(Material.ARROW, ChatColor.GRAY + "Back")); + actions.put(26, () -> tuneMenu(pl, key)); + com.example.dunegui.NativeMenus.inventory(plugin, pl, "Ender Chest \u00b7 Pad " + (pad + 1), model, actions); } private void openFilter(Player pl, String key, StorageData.Placed p) { @@ -366,7 +387,7 @@ public final class StorageModule implements Listener, CommandExecutor { Location centre = b.getLocation().add(0.5, 0.5, 0.5); centre.setYaw(switch (face) { case WEST -> 90f; case NORTH -> 180f; case EAST -> -90f; default -> 0f; }); var body = b.getWorld().spawn(centre, ItemDisplay.class, id -> { - id.setItemStack(items.hopperDisplayItem(p.tier, side)); id.setPersistent(false); id.setItemDisplayTransform(ItemDisplay.ItemDisplayTransform.NONE); + id.setItemStack(items.hopperDisplayItem(p.tier, side)); id.setPersistent(false); id.setBrightness(new Display.Brightness(15, 15)); id.setItemDisplayTransform(ItemDisplay.ItemDisplayTransform.NONE); id.setTransformation(new Transformation(new Vector3f(), new AxisAngle4f(), new Vector3f(1.01f, 1.01f, 1.01f), new AxisAngle4f())); }); displays.put(key, new ArrayList<>(List.of(body.getUniqueId()))); signatures.put(key, sig); @@ -382,14 +403,14 @@ public final class StorageModule implements Listener, CommandExecutor { Location centre = b.getLocation().add(0.5, 0.5, 0.5); centre.setYaw(switch (f) { case WEST -> 90f; case NORTH -> 180f; case EAST -> -90f; default -> 0f; }); var body = w.spawn(centre, ItemDisplay.class, id -> { - id.setItemStack(items.create(StorageItems.ENDER, 1)); id.setPersistent(false); id.setItemDisplayTransform(ItemDisplay.ItemDisplayTransform.NONE); + id.setItemStack(items.create(StorageItems.ENDER, 1)); id.setPersistent(false); id.setBrightness(new Display.Brightness(15, 15)); id.setItemDisplayTransform(ItemDisplay.ItemDisplayTransform.NONE); id.setTransformation(new Transformation(new Vector3f(), new AxisAngle4f(), new Vector3f(1.01f, 1.01f, 1.01f), new AxisAngle4f())); }); made.add(body.getUniqueId()); for (int i = 0; i < 3; i++) { double[] c = StorageRules.padCentre(f, i); final int idx = i; var d = w.spawn(b.getLocation(), BlockDisplay.class, bd -> { - bd.setBlock(wool(p.colors[idx]).createBlockData()); bd.setPersistent(false); + bd.setBlock(wool(p.colors[idx]).createBlockData()); bd.setPersistent(false); bd.setBrightness(new Display.Brightness(15, 15)); bd.setTransformation(new Transformation(new Vector3f((float) (c[0] - 0.135), 1.012f, (float) (c[1] - 0.135)), new AxisAngle4f(), new Vector3f(0.27f, 0.05f, 0.27f), new AxisAngle4f())); }); made.add(d.getUniqueId()); diff --git a/DuneChest/src/main/resources/plugin.yml b/DuneChest/src/main/resources/plugin.yml index 646847b5..45a75d5f 100644 --- a/DuneChest/src/main/resources/plugin.yml +++ b/DuneChest/src/main/resources/plugin.yml @@ -1,5 +1,5 @@ name: DuneChest -version: 1.0.1 +version: 1.0.2 main: com.example.dunechest.DuneChest api-version: '1.21.8' softdepend: [floodgate, DuneMenus, DuneEss] diff --git a/DuneChest/tools/ender_chest_art.py b/DuneChest/tools/ender_chest_art.py index 4ce302ab..50854ec1 100644 --- a/DuneChest/tools/ender_chest_art.py +++ b/DuneChest/tools/ender_chest_art.py @@ -8,9 +8,10 @@ S = 32 root = sys.argv[1] rng = random.Random(1701) -BODY = [(38, 24, 58), (44, 28, 66), (33, 20, 50), (50, 32, 74)] # dark violet stone -BRASS = [(196, 150, 70), (222, 178, 92), (160, 118, 52)] -EDGE = (20, 12, 32) +BODY = [(18, 14, 30), (24, 18, 38), (13, 10, 24), (30, 22, 48)] # obsidian +BRASS = [(74, 62, 112), (110, 92, 160), (46, 38, 74)] # dim violet-steel trim +EDGE = (8, 6, 16) +SPECK = [(96, 56, 170), (140, 90, 220), (60, 36, 110)] def body(): im = Image.new("RGBA", (S, S)) @@ -18,12 +19,14 @@ def body(): for y in range(S): for x in range(S): px[x, y] = rng.choice(BODY) + (255,) + for _ in range(S * S // 40): # violet obsidian flecks + px[rng.randrange(S), rng.randrange(S)] = rng.choice(SPECK) + (255,) return im def bevel(im): d = ImageDraw.Draw(im) d.rectangle([0, 0, S - 1, S - 1], outline=EDGE + (255,)) - d.line([(1, 1), (S - 2, 1)], fill=(88, 60, 124, 255)); d.line([(1, 1), (1, S - 2)], fill=(72, 48, 104, 255)) + d.line([(1, 1), (S - 2, 1)], fill=(52, 36, 84, 255)); d.line([(1, 1), (1, S - 2)], fill=(44, 30, 70, 255)) return im def band(im, y0, y1): @@ -48,14 +51,14 @@ def eye(im): side = bevel(body()); band(side, 1, 5); band(side, S - 6, S - 2); rivets(side, 3); rivets(side, S - 4) front = bevel(body()); band(front, 1, 7); band(front, S - 6, S - 2); eye(front); rivets(front, 4) -d = ImageDraw.Draw(front); d.rectangle([S // 2 - 2, 6, S // 2 + 1, 10], fill=BRASS[1] + (255,), outline=BRASS[2] + (255,)) # latch +d = ImageDraw.Draw(front); d.rectangle([S // 2 - 2, 6, S // 2 + 1, 10], fill=(222, 178, 92, 255), outline=(160, 118, 52, 255)) # brass latch top = bevel(body()) d = ImageDraw.Draw(top) for i in range(3): # three recessed pad slots, matching the wool pads placed on top cx = int(round((i + 0.5) / 3 * S)) - d.rectangle([cx - 5, S // 2 - 5, cx + 5, S // 2 + 5], fill=(14, 8, 22, 255), outline=BRASS[0] + (255,)) - d.rectangle([cx - 4, S // 2 - 4, cx + 4, S // 2 + 4], outline=(60, 40, 90, 255)) + d.rectangle([cx - 5, S // 2 - 5, cx + 5, S // 2 + 5], fill=(6, 4, 12, 255), outline=BRASS[1] + (255,)) + d.rectangle([cx - 4, S // 2 - 4, cx + 4, S // 2 + 4], outline=(40, 28, 64, 255)) bottom = bevel(body()) os.makedirs(os.path.join(root, "textures/block"), exist_ok=True) diff --git a/network/resource-pack/central/overlay/assets/dunerealms/textures/block/ender_chest_bottom.png b/network/resource-pack/central/overlay/assets/dunerealms/textures/block/ender_chest_bottom.png index e924b32dd4aa40a15f9400f51321b3ef37e240f6..d4a6a54f5b8eecf0a8cd45272e2590f568f666b4 100644 GIT binary patch delta 1098 zcmV-Q1hxB{2i^#fBYy-XNklo^@f`%i8B?gpd=bqWw3tH;Hk$w5^%x`}4nj@3( ziC@islo7VipT68o#w-6E#{12e0RWlKJ~jIXd)@VqcGesljenc*XwvK-w9WElwR=~e zE922p^L_Vg-XEW=bk8`?Uu3ua*6BigrmY0vOJ1B@KAi@+#sGhtNhshRfB?&PX()^$ zf(8_hROk2>NdPJmA>OJK<9PA&V88j%%u=C1c!$VT7;ihTgUO`<8|aa>qX~D8m=_=i zH9x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tkA>(Oh;@X=rqN-!2upw z+{Hp{#ece+if$K&qL;ahcZA)_u27uJf_${O;sGutRcyQb>Yh$31l<7}9U*?yjO6p& zujRCA*v)0;3;2`!2-t^GMORL2g=m)r`at*dCS9BpJ7YB^?NaM7(aCo=Dm-{pir3iGJ%DtJ)qmlH2P$2vPqp{Ce(Vs?P#W6aR48)d zx#vgbCZ(siK1jNOv<%^i{k`IA1g(`bebfMi(t1 z8Gc#NoeOl7oc>g-ohF5aGg1vQnQP*z4?mCJ|02-rkIZQ#kIm_JStoSX^yOAJwN5!F z0|9?5dh@PW;LIi(4&u5Q%^{rspmc+S?%+U_vApkheHF7|r2iudjU1N=LekFL$6jYo b{rCJg@lTJgW4J>|00000NkvXXu0mjfVI!;P diff --git a/network/resource-pack/central/overlay/assets/dunerealms/textures/block/ender_chest_front.png b/network/resource-pack/central/overlay/assets/dunerealms/textures/block/ender_chest_front.png index 333bd7f185bfc60d4adee898dd690829566d62d2..62bfb5bced51c46a6081f5a6a9663108ad30c29d 100644 GIT binary patch delta 838 zcmV-M1G)T{2HXaaBYy)UNkl2dN!GkTy+_ndQIGP&%TKh{TN$`4=mRY3H0?Qz3APDgS-s2z$=VfTc+5!yYUAIt* zScYX#z*7YC9ukF~Uy0P1NN&|O+f^Wi;T|$cp_J$RHh-d6q{16|#`7I(=L++&BT*V7 z6!U$^FC2!7r5{8lU0w9$LB@tnaGu~|J)69N(9fodA zw6-J87q%85L{w4O+*)lXA*Ai_#AT?3y+YMO?qClm853C&JFx|V>K8#_GNw@|k0&10 zrr-TD2Y)hZes=kZi>Aoon4X(R3Q)4Bd31w_FFhEukE4&=w93zKHqu%U3c=H`=3OEe z^1fOU5g+mSE%z=G}Kjr>?+As%DxftLZv8DC1tOG zMCB@|SEw0z0qT0nQq(h9{XY$P48m~;RTCm0^Y{H;Ek338*SSWq61PB9M^u^ALE>MaJt8Q>!Mw z=mS0i3X>X-PRDLl(W&e@A@o*ITLwM{n0WodJ?FVP77<7%(Lo^ba!U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Cfp2?XatCxO z>Q#yISve^sZdw1pwS&nhuqFkW19mSU(e6ylho!ldu)4mOhlwy6xkAo?$G)?n$qCk0 z1^bRe!2ucxMwI0R!Ct+)mnWNb4(#cJX_sb6IR~7MD6>*bgUBh^>u*Ix!#*nXQl=ZF zG-v_S3`r^Y^Mj|ia{vGU002ovPDHLk FV1h3yt>^#% delta 746 zcmV3mtIF2XSm35@BSqmF&XHR}xwFrMiHpC-Y5*0TlxRfJ|L;x@QhWJUyZ z9SPurYt|Bodw&8quq^7Y0>D6)nI>w_rQRcs0Ya8CV#bug=bCG@3V;Wof;MXlAnC?g zW}J*9duo99U_fx3^N#+u0vwJF>`u$g$$DF^tgqnR2Ux>-Za|jDE*iC=g4+fn^?R`aUGF1a)W1yURc7&zSbl_~z>=c2vexKgD!q%>B2!$#ZGXP-R+3a)K z5}YhJDcuL$9SLSY%b-;TG=e$VFl(y10qI1`9b*tPi2H!1j`Zb>z(%{F_3?$AhPG1f zj?$cF0?A@-N-|&@zZ=C4q8v>54@i;v_sx01wf~k<7v9g7rL6j#-F~~C_RHww!{p<` cWa`iJ|EMq7XyboPy#N3J07*qoM6N<$f<(1!ApigX diff --git a/network/resource-pack/central/overlay/assets/dunerealms/textures/block/ender_chest_top.png b/network/resource-pack/central/overlay/assets/dunerealms/textures/block/ender_chest_top.png index 08128f1a1ed6be903bf89ae173af10d3e335ccfb..a4a70f6ebb1fa4f462fd7d523d8744b70f221a18 100644 GIT binary patch delta 866 zcmV-o1D*Wr1^5P#BYy)wNkl1gTO5K?I*5Pmo$Hf`tSLB9c;sNC+wtG{q7YiD8M$5*L(j#&33RVyu>IlLH~M zbI+XrXU=a%%KFLQ#Sp26?(>bSMOhy|bTd{rmZAaBr{;2TqJNA={Oq>Fdbigte)V?4 zx?USCe(Y=(r^XtAhxPGVJ$!d>r@Iw?vp-gzE_QpJBoDfL_I|O}S_nMSF&7*{34eDl z%?0K4S{a11R{8X;=V1*g2*v**WN{W5$p5mnm>k+?0KydfVr?dPpr^T_CkxktFof#4 z-#PPmYB`-F0)NWI86wMB2q&Qw0SJK@0rSm?*^~+u&fa+)cr*^rNss6FJ-2i(MNXLz zkuWtxX7Tf*ssVgNx%q~HHCAH~!dKVdrzlBzZCpGvRh%2Y9?rlYQ_%S6e5CO2w(r`4|k81yc714`na`_@P9L4F41w3;o5GI-g?h&*k| zNJS_EO8WVWY4ARXZihtKP-yNuYqH(42ZIHZ`i)a{hWWZ4bh8}^`hI?D>e>6zmq2GjQ8n(NwG`R#E z`CXph{rO~b<~vJ7K4J+;oZ&Quzte43Ykqy$`rLU|Q ziCb8FzNT8+U;8zHBH@&b=FCuv|IH!4^JkW6(n}5IzXffYO;;*H--1@Fpj4rfAvVtn s%p+h27>)eRNy^Y+tA-R*l5)uO2U<^;ZaxKCKmY&$07*qoM6N<$f^8_B+W-In delta 725 zcmV;`0xJFZ2J8ipBYy(3Nkl!UxzjIzY{ z^QW(d&HC`p!#Mf${w4tA^S6(~cDyLh>(!}KGEm_@n6gDTZ74bi84~ro ziU1QD#R$&1i+_Ua$2fXiWG$>16iMF&`pI#(9Giu2k2xFI%f=>iej7{i+>NtFXums-@N<(G5q%RkAlj+ zb?XwGem%KWsmimX7tP#0b?Z4Wm)r+%kHG8*)NR;rwSUPzb!R^b7qDVT>6f$9CTUx( zjmE~J$Q?N2d|q-s40NlLFI8!o6#tjM4$0+L4~ zm*-brS_CxNHbpxicyPZnyk}%1+-gj7r1%Es0+Ke)ZceS#wgnW(mwv zzK^&oi2ibVw@C9R#o#S0|AvG)DZ5)6-CyJR%|X;G_8rSLvix*f99mAA00000NkvXX Hu0mjfa$;t8 diff --git a/tools/install-plugin-fleet.py b/tools/install-plugin-fleet.py index 46ae565d..ef4d48de 100644 --- a/tools/install-plugin-fleet.py +++ b/tools/install-plugin-fleet.py @@ -275,8 +275,12 @@ def plan(artifacts, inventory, expected_source): if not {'dunerealmsgui','mcgui'}.issubset(existing_paths): raise ValueError('DuneChest pack delivery requires the installed GUI and MCGUI runtimes') installed=existing_paths.get('dunechest') - if installed is not None and digest(installed)!=chosen[0]['sha256']: - raise ValueError('Existing DuneChest differs from this first fleet release') + approved_dunechest = { + chosen[0]['sha256'], + 'a1cd67aeea65d4a9dc98b75b1466fd54a120213e3eef31582c9492d546e484c2', + } + if installed is not None and digest(installed) not in approved_dunechest: + raise ValueError('Existing DuneChest differs from the approved release or predecessor') replaced={entry['filename'] for entry in previous} retained=[{'filename':path.name,'sha256':digest(path),'metadata':metadata(path)} for path in sorted(plugins.glob('*.jar')) if path.name not in replaced] -- 2.53.0