Package info.u_team.u_team_core.menu
Interface UAbstractContainerMenu.SlotHandlerFunction
- Enclosing class:
- UAbstractContainerMenu
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Used as a function to add slots
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.inventory.Slot
getSlot
(net.minecraftforge.items.IItemHandler handler, int index, int x, int y) Should return a slot with the applied parameters.
-
Method Details
-
getSlot
net.minecraft.world.inventory.Slot getSlot(net.minecraftforge.items.IItemHandler handler, int index, int x, int y) Should return a slot with the applied parameters.- Parameters:
handler
- Item inventory handlerindex
- Index for this handlerx
- X coordinatey
- Y coordinate- Returns:
- A new slot instance
-