Class ContainerUtil

java.lang.Object
com.refinedmods.refinedstorage.common.util.ContainerUtil

public final class ContainerUtil extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.item.ItemStack
    getItemInSlot(net.minecraft.nbt.CompoundTag tag, int i, net.minecraft.core.HolderLookup.Provider provider)
     
    static boolean
    hasItemInSlot(net.minecraft.nbt.CompoundTag tag, int slot)
     
    static void
    read(net.minecraft.nbt.CompoundTag tag, net.minecraft.world.Container container, net.minecraft.core.HolderLookup.Provider provider)
     
    static net.minecraft.nbt.CompoundTag
    write(net.minecraft.world.Container container, net.minecraft.core.HolderLookup.Provider provider)
     

    Methods inherited from class java.lang.Object

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

    • write

      public static net.minecraft.nbt.CompoundTag write(net.minecraft.world.Container container, net.minecraft.core.HolderLookup.Provider provider)
    • read

      public static void read(net.minecraft.nbt.CompoundTag tag, net.minecraft.world.Container container, net.minecraft.core.HolderLookup.Provider provider)
    • hasItemInSlot

      public static boolean hasItemInSlot(net.minecraft.nbt.CompoundTag tag, int slot)
    • getItemInSlot

      public static net.minecraft.world.item.ItemStack getItemInSlot(net.minecraft.nbt.CompoundTag tag, int i, net.minecraft.core.HolderLookup.Provider provider)