Class ExpandEquipmentSlotGroup
java.lang.Object
com.blamejared.crafttweaker.natives.entity.equipment.ExpandEquipmentSlotGroup
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.entity.EquipmentSlotGroupbySlot(net.minecraft.world.entity.EquipmentSlot slot) Gets theEquipmentSlotGroupby theEquipmentSlot.static booleantest(net.minecraft.world.entity.EquipmentSlotGroup internal, net.minecraft.world.entity.EquipmentSlot slot) Checks if theEquipmentSlotGroupcontains theEquipmentSlot.
-
Constructor Details
-
ExpandEquipmentSlotGroup
public ExpandEquipmentSlotGroup()
-
-
Method Details
-
bySlot
public static net.minecraft.world.entity.EquipmentSlotGroup bySlot(net.minecraft.world.entity.EquipmentSlot slot) Gets theEquipmentSlotGroupby theEquipmentSlot.- Parameters:
slot- TheEquipmentSlotto get theEquipmentSlotGroupof.- Returns:
- The
EquipmentSlotGroupof theEquipmentSlot.
-
test
public static boolean test(net.minecraft.world.entity.EquipmentSlotGroup internal, net.minecraft.world.entity.EquipmentSlot slot) Checks if theEquipmentSlotGroupcontains theEquipmentSlot.- Parameters:
slot- TheEquipmentSlotto check.- Returns:
- True if the
EquipmentSlotGroupcontains theEquipmentSlot, false otherwise.
-