Class HTComponentItemHandler
-
- All Implemented Interfaces:
-
hiiragi283.core.api.storage.item.HTItemHandler,hiiragi283.core.api.storage.item.HTSidedItemHandler,net.neoforged.neoforge.items.IItemHandler
public final class HTComponentItemHandler implements HTItemHandler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceHTComponentItemHandler.Factory
-
Constructor Summary
Constructors Constructor Description HTComponentItemHandler(ItemStack container, Integer size, HTComponentItemHandler.Factory factory)
-
Method Summary
Modifier and Type Method Description final ItemStackgetContainer()final IntegergetSize()List<HTResourceSlot<HTItemResourceType>>getItemSlots(Direction side)指定した面からHTItemSlotの一覧を取得します。 -
Methods inherited from class hiiragi283.core.api.storage.item.HTSidedItemHandler
extractItem, getItemSideFor, getSlotLimit, getSlots, getSlots, getStackInSlot, insertItem, isItemValid -
Methods inherited from class hiiragi283.core.api.storage.item.HTItemHandler
extractItem, getItemSlot, getSlotLimit, getSlots, getStackInSlot, hasItemHandler, insertItem, isItemValid -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
HTComponentItemHandler
HTComponentItemHandler(ItemStack container, Integer size, HTComponentItemHandler.Factory factory)
-
-
Method Detail
-
getContainer
final ItemStack getContainer()
-
getItemSlots
List<HTResourceSlot<HTItemResourceType>> getItemSlots(Direction side)
指定した面からHTItemSlotの一覧を取得します。
-
-
-
-