Class ContainerCache

java.lang.Object
adris.altoclef.trackers.storage.ContainerCache

public class ContainerCache extends Object
  • Constructor Details

    • ContainerCache

      public ContainerCache(Dimension dimension, net.minecraft.util.math.BlockPos blockPos, ContainerType containerType)
  • Method Details

    • update

      public void update(net.minecraft.screen.ScreenHandler screenHandler, Consumer<net.minecraft.item.ItemStack> onStack)
    • getItemCount

      public int getItemCount(net.minecraft.item.Item... items)
    • hasItem

      public boolean hasItem(net.minecraft.item.Item... items)
    • getEmptySlotCount

      public int getEmptySlotCount()
    • isFull

      public boolean isFull()
    • getBlockPos

      public net.minecraft.util.math.BlockPos getBlockPos()
    • getContainerType

      public ContainerType getContainerType()
    • getDimension

      public Dimension getDimension()