mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-05-19 20:13:53 +02:00
Compare commits
2 commits
4dc1071d83
...
62430ea9f1
Author | SHA1 | Date | |
---|---|---|---|
62430ea9f1 | |||
6b8794b4f3 |
|
@ -58,7 +58,7 @@ public final class NetheriteDivingHandler {
|
|||
}
|
||||
|
||||
public static boolean isNetheriteArmor(ItemStack stack) {
|
||||
return stack.getItem() instanceof ArmorItem armorItem && armorItem.getMaterial().getRepairIngredient().getItems()[0].is(Tags.Items.INGOTS_NETHERITE);
|
||||
return stack.getItem() instanceof ArmorItem armorItem && armorItem.isFireResistant();
|
||||
}
|
||||
|
||||
public static void setBit(LivingEntity entity, EquipmentSlot slot) {
|
||||
|
|
Loading…
Reference in a new issue