Class NetheriteDivingHandler
java.lang.Object
com.simibubi.create.content.equipment.armor.NetheriteDivingHandler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclearBit(net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.entity.EquipmentSlot slot) static booleanisNetheriteArmor(net.minecraft.world.item.ItemStack stack) static booleanisNetheriteBacktank(net.minecraft.world.item.ItemStack stack) static booleanisNetheriteDivingHelmet(net.minecraft.world.item.ItemStack stack) static voidonLivingEquipmentChange(net.neoforged.neoforge.event.entity.living.LivingEquipmentChangeEvent event) static voidsetBit(net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.entity.EquipmentSlot slot) static voidsetFireImmune(net.minecraft.world.entity.LivingEntity entity, boolean fireImmune)
-
Field Details
-
NETHERITE_DIVING_BITS_KEY
- See Also:
-
FIRE_IMMUNE_KEY
- See Also:
-
-
Constructor Details
-
NetheriteDivingHandler
public NetheriteDivingHandler()
-
-
Method Details
-
onLivingEquipmentChange
public static void onLivingEquipmentChange(net.neoforged.neoforge.event.entity.living.LivingEquipmentChangeEvent event) -
isNetheriteDivingHelmet
public static boolean isNetheriteDivingHelmet(net.minecraft.world.item.ItemStack stack) -
isNetheriteBacktank
public static boolean isNetheriteBacktank(net.minecraft.world.item.ItemStack stack) -
isNetheriteArmor
public static boolean isNetheriteArmor(net.minecraft.world.item.ItemStack stack) -
setBit
public static void setBit(net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.entity.EquipmentSlot slot) -
clearBit
public static void clearBit(net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.entity.EquipmentSlot slot) -
setFireImmune
public static void setFireImmune(net.minecraft.world.entity.LivingEntity entity, boolean fireImmune)
-