nanaxeazy.blogg.se

How to undo jarfix
How to undo jarfix







If(feet.getItem() = boolean isBookEnchantable(ItemStack stack, ItemStack book) If(legs.getItem() = ItemInit.GOBBER2_LEGGINGS_NETHER.get()) If(chest.getItem() = ItemInit.GOBBER2_CHESTPLATE_NETHER.get()) PlayerSpecialAbilities.giveRegenEffect(world, player, stack, hunger, (float) saturation) PlayerSpecialAbilities.giveYellowHearts(world, player, stack, 4, 0.33F) If(head.getItem() = ItemInit.GOBBER2_HELMET_NETHER.get()) Check ArmorUtil for additional perks applied to armor If(player.getEffect(MobEffects.WITHER) != null) If(player.getEffect(MobEffects.POISON) != null) Legs.getItem() = ItemInit.GOBBER2_LEGGINGS_NETHER.get() &įeet.getItem() = ItemInit.GOBBER2_BOOTS_NETHER.get()) If(head.getItem() = ItemInit.GOBBER2_HELMET_NETHER.get() &Ĭhest.getItem() = ItemInit.GOBBER2_CHESTPLATE_NETHER.get() & ItemStack feet = player.getItemBySlot(EquipmentSlot.FEET) ItemStack legs = player.getItemBySlot(EquipmentSlot.LEGS) ItemStack chest = player.getItemBySlot(EquipmentSlot.CHEST) ItemStack head = player.getItemBySlot(EquipmentSlot.HEAD) Int hunger = GobberConfigBuilder.GOBBER_NETHER_ARMOR_HUNGER.get() ĭouble saturation = void onArmorTick(final ItemStack stack, final Level world, final Player player) Public ItemCustomArmorNether(ArmorMaterial materialIn, EquipmentSlot slots, Properties builder)īoolean enablePerks = GobberConfigBuilder.ENABLE_GOBBER_NETHER_ARMOR_HEALTH_PERKS.get() Public class ItemCustomArmorNether extends ArmorItem I want to add custom 3d model to armor(I want to create addon that replace armor with samurai armor in Gobber mod).









How to undo jarfix