Class ContainerUtil
java.lang.Object
com.refinedmods.refinedstorage.common.util.ContainerUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-
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)
-