diff --git a/PALAMOD_CDC.md b/PALAMOD_CDC.md index 9763433..098abd5 100644 --- a/PALAMOD_CDC.md +++ b/PALAMOD_CDC.md @@ -646,6 +646,9 @@ avant M4 (TODO:crafts-machines). teleport TeleportTransition, cooldown 20t, texture legacy, sans craft ECART). Lecon : teleportTo 6-args n'existe plus en 26.3 -> pattern maison TeleportTransition. VERIFIE : build SUCCESSFUL, boot Done, 0 erreur. UNVERIFIED en jeu. +- M-gadget-3 LIVRE 2026-10-19 ~05:30 : bocal a poissons (ID 3100, slot casque = + cecite, texture fish legacy, sans craft ECART). ECART : poisson a l'ecran infaisable + sans mod client. VERIFIE : build SUCCESSFUL, boot Done, 0 erreur. UNVERIFIED en jeu. - M-palaforge LIVRE 2026-10-19 ~03:55 : bloc + BE partagee (3e mode) + gate mineur 14 + table fonte wiki §3.2 (31 items, ratio floor usure) + fuels bois (+buche/planches/baton, lave exclue : seau non rendu) + craft (1 findium + 4 furnaces + 4 briques, positions diff --git a/mods/pala/src/main/java/fr/surviepote/pala/PalaItems.java b/mods/pala/src/main/java/fr/surviepote/pala/PalaItems.java index 619c176..74b5341 100644 --- a/mods/pala/src/main/java/fr/surviepote/pala/PalaItems.java +++ b/mods/pala/src/main/java/fr/surviepote/pala/PalaItems.java @@ -67,6 +67,10 @@ public final class PalaItems { // M-gadget-2 (wiki items lucky) : grappin, durabilite 255, sans craft (ECART lucky). // ECART : tirage instantane (pas de projectile/entite crochet visible cote serveur). public static final Item GRAPPIN = register("grappin", id -> new Item(new Item.Properties().setId(id).stacksTo(1).durability(255))); + // M-gadget-3 (wiki items lucky) : bocal a poissons — porte sur la tete, vision + // entravee (cote serveur : cecite ; le poisson a l'ecran est infaisable sans mod + // client, ECART documente). Sans craft (ECART lucky). + public static final Item FISHBOWL = register("fishbowl", id -> new Item(new Item.Properties().setId(id).stacksTo(1))); // M-candy (wiki metiers, VERIFIE partiel) : bonbons 50 000 XP. Vert = fermier, // jaune = mineur, rainbow = tous (pages Evolution) ; bleu/rose = mapping non publie // (items seuls, TODO:mapping-bonbons) ; candy/job_candy = nature inconnue (items seuls). diff --git a/mods/pala/src/main/java/fr/surviepote/pala/PalaTabs.java b/mods/pala/src/main/java/fr/surviepote/pala/PalaTabs.java index cd0a19b..4a37d2d 100644 --- a/mods/pala/src/main/java/fr/surviepote/pala/PalaTabs.java +++ b/mods/pala/src/main/java/fr/surviepote/pala/PalaTabs.java @@ -71,6 +71,7 @@ public final class PalaTabs { output.accept(PalaItems.XP_BERRIES); output.accept(PalaItems.CHUNK_ANALYSER); output.accept(PalaItems.GRAPPIN); + output.accept(PalaItems.FISHBOWL); output.accept(PalaItems.CANDY); output.accept(PalaItems.CANDY_BLUE); output.accept(PalaItems.CANDY_GREEN); diff --git a/mods/pala/src/main/java/fr/surviepote/pala/events/PalaArmorEvents.java b/mods/pala/src/main/java/fr/surviepote/pala/events/PalaArmorEvents.java index 555cffb..d01cd86 100644 --- a/mods/pala/src/main/java/fr/surviepote/pala/events/PalaArmorEvents.java +++ b/mods/pala/src/main/java/fr/surviepote/pala/events/PalaArmorEvents.java @@ -42,6 +42,11 @@ public final class PalaArmorEvents { } private static void onPlayerTick(ServerPlayer player) { + // --- Bocal a poissons (M-gadget-3, wiki items lucky) : sur la tete = cecite. + if (wearing(player, EquipmentSlot.HEAD, PalaItems.FISHBOWL)) { + effect(player, net.minecraft.world.effect.MobEffects.BLINDNESS, 60, 0); + } + // --- Armure Paladium (1 procedure par piece dans le legacy) --- if (wearing(player, EquipmentSlot.HEAD, PalaItems.PALADIUM_HELMET)) { effect(player, net.minecraft.world.effect.MobEffects.NIGHT_VISION, 860, 1); diff --git a/mods/pala/src/main/resources/assets/pala/items/fishbowl.json b/mods/pala/src/main/resources/assets/pala/items/fishbowl.json new file mode 100644 index 0000000..9740935 --- /dev/null +++ b/mods/pala/src/main/resources/assets/pala/items/fishbowl.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "pala:item/fishbowl" + } +} \ No newline at end of file diff --git a/mods/pala/src/main/resources/assets/pala/lang/en_us.json b/mods/pala/src/main/resources/assets/pala/lang/en_us.json index faa3c3d..1fab003 100644 --- a/mods/pala/src/main/resources/assets/pala/lang/en_us.json +++ b/mods/pala/src/main/resources/assets/pala/lang/en_us.json @@ -4,6 +4,7 @@ "item.pala.amethyst_mixed_coal": "Amethyst Mixed Coal", "item.pala.amethyst_stick": "Amethyst Stick", "item.pala.compressed_amethyst": "Compressed Amethyst", + "item.pala.fishbowl": "Bocal a poissons", "item.pala.grappin": "Grappin", "item.pala.chunk_analyser": "Chunk Analyser", "item.pala.compressed_paladium": "Compressed Paladium", diff --git a/mods/pala/src/main/resources/assets/pala/models/item/fishbowl.json b/mods/pala/src/main/resources/assets/pala/models/item/fishbowl.json new file mode 100644 index 0000000..632c0c6 --- /dev/null +++ b/mods/pala/src/main/resources/assets/pala/models/item/fishbowl.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "pala:item/fishbowl" + } +} \ No newline at end of file diff --git a/mods/pala/src/main/resources/assets/pala/textures/item/fishbowl.png b/mods/pala/src/main/resources/assets/pala/textures/item/fishbowl.png new file mode 100644 index 0000000..8585df2 Binary files /dev/null and b/mods/pala/src/main/resources/assets/pala/textures/item/fishbowl.png differ diff --git a/server/mods/pala-0.2.1.jar b/server/mods/pala-0.2.1.jar index fe5fede..27752ab 100644 Binary files a/server/mods/pala-0.2.1.jar and b/server/mods/pala-0.2.1.jar differ