Class ExpandEquipmentSlotGroup

java.lang.Object
com.blamejared.crafttweaker.natives.entity.equipment.ExpandEquipmentSlotGroup

@ZenRegister public class ExpandEquipmentSlotGroup extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.entity.EquipmentSlotGroup
    bySlot(net.minecraft.world.entity.EquipmentSlot slot)
    Gets the EquipmentSlotGroup by the EquipmentSlot.
    static boolean
    test(net.minecraft.world.entity.EquipmentSlotGroup internal, net.minecraft.world.entity.EquipmentSlot slot)
    Checks if the EquipmentSlotGroup contains the EquipmentSlot.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExpandEquipmentSlotGroup

      public ExpandEquipmentSlotGroup()
  • Method Details

    • bySlot

      public static net.minecraft.world.entity.EquipmentSlotGroup bySlot(net.minecraft.world.entity.EquipmentSlot slot)
      Gets the EquipmentSlotGroup by the EquipmentSlot.
      Parameters:
      slot - The EquipmentSlot to get the EquipmentSlotGroup of.
      Returns:
      The EquipmentSlotGroup of the EquipmentSlot.
    • test

      public static boolean test(net.minecraft.world.entity.EquipmentSlotGroup internal, net.minecraft.world.entity.EquipmentSlot slot)
      Checks if the EquipmentSlotGroup contains the EquipmentSlot.
      Parameters:
      slot - The EquipmentSlot to check.
      Returns:
      True if the EquipmentSlotGroup contains the EquipmentSlot, false otherwise.