java.lang.Object
com.blamejared.crafttweaker.natives.entity.type.player.ExpandInventory

@ZenRegister public class ExpandInventory extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    add(net.minecraft.world.entity.player.Inventory internal, int index, net.minecraft.world.item.ItemStack stack)
     
    static boolean
    add(net.minecraft.world.entity.player.Inventory internal, net.minecraft.world.item.ItemStack stack)
     
    static boolean
    contains(net.minecraft.world.entity.player.Inventory internal, KnownTag<net.minecraft.world.item.Item> tag)
     
    static boolean
    contains(net.minecraft.world.entity.player.Inventory internal, net.minecraft.world.item.ItemStack stack)
     
    static void
    dropAll(net.minecraft.world.entity.player.Inventory internal)
     
    static int
    findSlotMatchingItem(net.minecraft.world.entity.player.Inventory internal, net.minecraft.world.item.ItemStack stack)
     
    static int
    findSlotMatchingUnusedItem(net.minecraft.world.entity.player.Inventory internal, net.minecraft.world.item.ItemStack stack)
     
    static net.minecraft.world.item.ItemStack
    getArmor(net.minecraft.world.entity.player.Inventory internal, int armorIndex)
     
    static int
    getFreeSlot(net.minecraft.world.entity.player.Inventory internal)
     
    static net.minecraft.world.item.ItemStack
    getSelected(net.minecraft.world.entity.player.Inventory internal)
     
    static int
    getSlotWithRemainingSpace(net.minecraft.world.entity.player.Inventory internal, net.minecraft.world.item.ItemStack stack)
     
    static int
    getSuitableHotbarSlot(net.minecraft.world.entity.player.Inventory internal)
     
    static int
    getTimesChanged(net.minecraft.world.entity.player.Inventory internal)
     
    static void
    hurtArmor(net.minecraft.world.entity.player.Inventory internal, net.minecraft.world.damagesource.DamageSource source, float damage, int[] armorSlots)
     
    static void
    pickSlot(net.minecraft.world.entity.player.Inventory internal, int index)
     
    static void
    removeItem(net.minecraft.world.entity.player.Inventory internal, net.minecraft.world.item.ItemStack stack)
     
    static void
    setPickedItem(net.minecraft.world.entity.player.Inventory internal, net.minecraft.world.item.ItemStack stack)
     

    Methods inherited from class java.lang.Object

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

    • ExpandInventory

      public ExpandInventory()
  • Method Details

    • getSelected

      public static net.minecraft.world.item.ItemStack getSelected(net.minecraft.world.entity.player.Inventory internal)
    • getFreeSlot

      public static int getFreeSlot(net.minecraft.world.entity.player.Inventory internal)
    • setPickedItem

      public static void setPickedItem(net.minecraft.world.entity.player.Inventory internal, net.minecraft.world.item.ItemStack stack)
    • pickSlot

      public static void pickSlot(net.minecraft.world.entity.player.Inventory internal, int index)
    • findSlotMatchingItem

      public static int findSlotMatchingItem(net.minecraft.world.entity.player.Inventory internal, net.minecraft.world.item.ItemStack stack)
    • findSlotMatchingUnusedItem

      public static int findSlotMatchingUnusedItem(net.minecraft.world.entity.player.Inventory internal, net.minecraft.world.item.ItemStack stack)
    • getSuitableHotbarSlot

      public static int getSuitableHotbarSlot(net.minecraft.world.entity.player.Inventory internal)
    • getSlotWithRemainingSpace

      public static int getSlotWithRemainingSpace(net.minecraft.world.entity.player.Inventory internal, net.minecraft.world.item.ItemStack stack)
    • add

      public static boolean add(net.minecraft.world.entity.player.Inventory internal, net.minecraft.world.item.ItemStack stack)
    • add

      public static boolean add(net.minecraft.world.entity.player.Inventory internal, int index, net.minecraft.world.item.ItemStack stack)
    • removeItem

      public static void removeItem(net.minecraft.world.entity.player.Inventory internal, net.minecraft.world.item.ItemStack stack)
    • getArmor

      public static net.minecraft.world.item.ItemStack getArmor(net.minecraft.world.entity.player.Inventory internal, int armorIndex)
    • hurtArmor

      public static void hurtArmor(net.minecraft.world.entity.player.Inventory internal, net.minecraft.world.damagesource.DamageSource source, float damage, int[] armorSlots)
    • dropAll

      public static void dropAll(net.minecraft.world.entity.player.Inventory internal)
    • getTimesChanged

      public static int getTimesChanged(net.minecraft.world.entity.player.Inventory internal)
    • contains

      public static boolean contains(net.minecraft.world.entity.player.Inventory internal, net.minecraft.world.item.ItemStack stack)
    • contains

      public static boolean contains(net.minecraft.world.entity.player.Inventory internal, KnownTag<net.minecraft.world.item.Item> tag)