pala M-gadget-3: bocal a poissons (casque = cecite)

This commit is contained in:
Anaïs Saraiva
2026-10-19 05:34:38 +02:00
parent d9f1f2af1d
commit 32c4e4069a
9 changed files with 26 additions and 0 deletions
+3
View File
@@ -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
@@ -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).
@@ -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);
@@ -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);
@@ -0,0 +1,6 @@
{
"model": {
"type": "minecraft:model",
"model": "pala:item/fishbowl"
}
}
@@ -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",
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "pala:item/fishbowl"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.