pala M-gadget-3: bocal a poissons (casque = cecite)
This commit is contained in:
@@ -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 |
Reference in New Issue
Block a user