pala M-hunter-4: knocker 4 degats + canne peche paladium
This commit is contained in:
@@ -750,6 +750,13 @@ avant M4 (TODO:crafts-machines).
|
|||||||
par defaut manquantes au chargement + resave (panda/goat VERIFIES en pala.json).
|
par defaut manquantes au chargement + resave (panda/goat VERIFIES en pala.json).
|
||||||
Lecon : killer l'ancien serveur AVANT de booter (session.lock orphelin), rm lock
|
Lecon : killer l'ancien serveur AVANT de booter (session.lock orphelin), rm lock
|
||||||
si tue -9. VERIFIE : build SUCCESSFUL, boot Done, 0 erreur. UNVERIFIED en jeu.
|
si tue -9. VERIFIE : build SUCCESSFUL, boot Done, 0 erreur. UNVERIFIED en jeu.
|
||||||
|
- M-hunter-4 LIVRE 2026-10-19 ~08:15 : knocker 4 degats EXACTS (attribut +3 mainhand
|
||||||
|
ADD_VALUE via DataComponents.ATTRIBUTE_MODIFIERS, core.component ; Item simple =
|
||||||
|
non enchantable wiki OK) + canne peche paladium (FishingRodItem dura 384 ECART
|
||||||
|
vitesse non quantifiee, craft shapeless connu, textures cast/uncast, overrides).
|
||||||
|
Lecon : shapeless 26.3 = ingredients STRINGS (objets {item} rejetes "List too
|
||||||
|
short", crash datapacks). VERIFIE : build SUCCESSFUL, boot Done, 0 erreur.
|
||||||
|
UNVERIFIED en jeu (degats, peche, visuel cast).
|
||||||
- M-palaforge LIVRE 2026-10-19 ~03:55 : bloc + BE partagee (3e mode) + gate mineur 14 +
|
- 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,
|
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
|
lave exclue : seau non rendu) + craft (1 findium + 4 furnaces + 4 briques, positions
|
||||||
|
|||||||
@@ -137,7 +137,22 @@ public final class PalaItems {
|
|||||||
// M-hunter-2 (wiki niv.9) : infernal knocker — tenu en main, coups sur wither =
|
// M-hunter-2 (wiki niv.9) : infernal knocker — tenu en main, coups sur wither =
|
||||||
// knockback amplifie (sans degats propres, ECART chiffres). Sans craft/durabilite
|
// knockback amplifie (sans degats propres, ECART chiffres). Sans craft/durabilite
|
||||||
// (wiki muet, ECART).
|
// (wiki muet, ECART).
|
||||||
public static final Item INFERNAL_KNOCKER = register("infernal_knocker", id -> new Item(new Item.Properties().setId(id).stacksTo(1)));
|
// M-hunter-4 (wiki niv.9 VERIFIE : 4 degats + knockback, non enchantable) : Item
|
||||||
|
// simple (sans composant enchantable -> non enchantable) + attribut +3 degats
|
||||||
|
// mainhand (1 base + 3 = 4 EXACT) ; le push x3 wither reste dans PalaJobEvents.
|
||||||
|
// M-hunter-4 (wiki niv.4 VERIFIE : craft 2 sticks pala + 1 lingot pala + 2 ficelles,
|
||||||
|
// "peche plus vite" NON QUANTIFIE -> ECART : durabilite 384 (6x vanilla, valeur
|
||||||
|
// gameplay), sans bonus invente ; gate craft chasseur 4 non applicable (pas de
|
||||||
|
// gates craft). Textures legacy cast/uncast.
|
||||||
|
public static final Item PALADIUM_FISHING_ROD = register("paladium_fishing_rod", id -> new net.minecraft.world.item.FishingRodItem(new Item.Properties().setId(id).stacksTo(1).durability(384)));
|
||||||
|
public static final Item INFERNAL_KNOCKER = register("infernal_knocker", id -> new Item(new Item.Properties().setId(id).stacksTo(1).component(DataComponents.ATTRIBUTE_MODIFIERS,
|
||||||
|
net.minecraft.world.item.component.ItemAttributeModifiers.builder().add(
|
||||||
|
net.minecraft.world.entity.ai.attributes.Attributes.ATTACK_DAMAGE,
|
||||||
|
new net.minecraft.world.entity.ai.attributes.AttributeModifier(
|
||||||
|
net.minecraft.resources.Identifier.fromNamespaceAndPath("pala", "infernal_knocker"),
|
||||||
|
3.0,
|
||||||
|
net.minecraft.world.entity.ai.attributes.AttributeModifier.Operation.ADD_VALUE),
|
||||||
|
net.minecraft.world.entity.EquipmentSlotGroup.MAINHAND).build())));
|
||||||
// M-spawner-1 (wiki pillage ID 4795) : chercheur de spawners — scan 9 chunks,
|
// M-spawner-1 (wiki pillage ID 4795) : chercheur de spawners — scan 9 chunks,
|
||||||
// message presence + coords du plus proche, gate chasseur 10. Durabilite 140
|
// message presence + coords du plus proche, gate chasseur 10. Durabilite 140
|
||||||
// minutes wiki => 140 usages (1/scan, ECART). Sans craft (image non OCR, ECART).
|
// minutes wiki => 140 usages (1/scan, ECART). Sans craft (image non OCR, ECART).
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ public final class PalaTabs {
|
|||||||
output.accept(PalaItems.MAGMA_AMULET);
|
output.accept(PalaItems.MAGMA_AMULET);
|
||||||
output.accept(PalaItems.CAVE_HAMMER);
|
output.accept(PalaItems.CAVE_HAMMER);
|
||||||
output.accept(PalaItems.INFERNAL_KNOCKER);
|
output.accept(PalaItems.INFERNAL_KNOCKER);
|
||||||
|
output.accept(PalaItems.PALADIUM_FISHING_ROD);
|
||||||
output.accept(PalaItems.SPAWNER_FINDER);
|
output.accept(PalaItems.SPAWNER_FINDER);
|
||||||
output.accept(PalaItems.DYNAMITE);
|
output.accept(PalaItems.DYNAMITE);
|
||||||
output.accept(PalaItems.NINJA_DYNAMITE);
|
output.accept(PalaItems.NINJA_DYNAMITE);
|
||||||
|
|||||||
@@ -92,8 +92,8 @@ public final class PalaJobEvents {
|
|||||||
if (killer instanceof ServerPlayer attacker) {
|
if (killer instanceof ServerPlayer attacker) {
|
||||||
xpStealer(attacker, entity);
|
xpStealer(attacker, entity);
|
||||||
}
|
}
|
||||||
// M-hunter-2 (wiki niv.9) : infernal knocker — knockback amplifie sur wither
|
// M-hunter-2/4 (wiki niv.9) : infernal knocker — knockback amplifie sur wither
|
||||||
// quand tenu en main (x3 direction du coup, sans degats propres).
|
// quand tenu en main (x3 direction du coup ; 4 degats via attribut M-hunter-4).
|
||||||
if (killer instanceof ServerPlayer knocker
|
if (killer instanceof ServerPlayer knocker
|
||||||
&& knocker.getMainHandItem().is(fr.surviepote.pala.PalaItems.INFERNAL_KNOCKER)
|
&& knocker.getMainHandItem().is(fr.surviepote.pala.PalaItems.INFERNAL_KNOCKER)
|
||||||
&& entity.getType() == net.minecraft.world.entity.EntityTypes.WITHER) {
|
&& entity.getType() == net.minecraft.world.entity.EntityTypes.WITHER) {
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"model": {
|
||||||
|
"type": "minecraft:model",
|
||||||
|
"model": "pala:item/paladium_fishing_rod"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -9,6 +9,7 @@
|
|||||||
"item.pala.big_dynamite": "Big Dynamite",
|
"item.pala.big_dynamite": "Big Dynamite",
|
||||||
"item.pala.spawner_finder": "Chercheur de spawners",
|
"item.pala.spawner_finder": "Chercheur de spawners",
|
||||||
"item.pala.infernal_knocker": "Infernal Knocker",
|
"item.pala.infernal_knocker": "Infernal Knocker",
|
||||||
|
"item.pala.paladium_fishing_rod": "Paladium Fishing Rod",
|
||||||
"item.pala.cave_hammer": "Marteau des cavernes",
|
"item.pala.cave_hammer": "Marteau des cavernes",
|
||||||
"item.pala.magma_amulet": "Amulette de feu",
|
"item.pala.magma_amulet": "Amulette de feu",
|
||||||
"enchantment.pala.experience_bottler": "Experience Bottler",
|
"enchantment.pala.experience_bottler": "Experience Bottler",
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"parent": "minecraft:item/handheld_rod",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "pala:item/paladium_fishing_rod"
|
||||||
|
},
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"predicate": {
|
||||||
|
"minecraft:cast": 1.0
|
||||||
|
},
|
||||||
|
"model": "pala:item/paladium_fishing_rod_cast"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "minecraft:item/handheld_rod",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "pala:item/paladium_fishing_rod_cast"
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 288 B |
Binary file not shown.
|
After Width: | Height: | Size: 260 B |
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"type": "minecraft:crafting_shapeless",
|
||||||
|
"category": "equipment",
|
||||||
|
"ingredients": [
|
||||||
|
"pala:paladium_stick",
|
||||||
|
"pala:paladium_stick",
|
||||||
|
"pala:paladium_ingot",
|
||||||
|
"minecraft:string",
|
||||||
|
"minecraft:string"
|
||||||
|
],
|
||||||
|
"result": {
|
||||||
|
"id": "pala:paladium_fishing_rod",
|
||||||
|
"count": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
Reference in New Issue
Block a user