Class ItemContainerWrapper
java.lang.Object
net.neoforged.neoforge.items.wrapper.InvWrapper
earth.terrarium.botarium.neoforge.item.ItemContainerWrapper
- All Implemented Interfaces:
AutoSerializable,net.neoforged.neoforge.capabilities.ICapabilityProvider<net.minecraft.world.level.block.entity.BlockEntity,,net.minecraft.core.Direction, net.neoforged.neoforge.items.IItemHandler> net.neoforged.neoforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>,net.neoforged.neoforge.items.IItemHandler,net.neoforged.neoforge.items.IItemHandlerModifiable
public class ItemContainerWrapper
extends net.neoforged.neoforge.items.wrapper.InvWrapper
implements net.neoforged.neoforge.capabilities.ICapabilityProvider<net.minecraft.world.level.block.entity.BlockEntity,net.minecraft.core.Direction,net.neoforged.neoforge.items.IItemHandler>, AutoSerializable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable net.neoforged.neoforge.items.IItemHandlergetCapability(net.minecraft.world.level.block.entity.BlockEntity object, net.minecraft.core.Direction object2) Methods inherited from class net.neoforged.neoforge.items.wrapper.InvWrapper
equals, extractItem, getInv, getSlotLimit, getSlots, getStackInSlot, hashCode, insertItem, isItemValid, setStackInSlotMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface earth.terrarium.botarium.neoforge.AutoSerializable
deserializeNBT, serializeNBT
-
Constructor Details
-
ItemContainerWrapper
-
-
Method Details
-
getSerializable
- Specified by:
getSerializablein interfaceAutoSerializable
-
getCapability
@Nullable public @Nullable net.neoforged.neoforge.items.IItemHandler getCapability(net.minecraft.world.level.block.entity.BlockEntity object, net.minecraft.core.Direction object2) - Specified by:
getCapabilityin interfacenet.neoforged.neoforge.capabilities.ICapabilityProvider<net.minecraft.world.level.block.entity.BlockEntity,net.minecraft.core.Direction, net.neoforged.neoforge.items.IItemHandler>
-