Package info.u_team.u_team_core.menu
Interface UAbstractContainerMenu.SlotContainerFunction
- 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.minecraft.world.Container container, int index, int x, int y) Should return a slot with the applied parameters.
-
Method Details
-
getSlot
net.minecraft.world.inventory.Slot getSlot(net.minecraft.world.Container container, int index, int x, int y) Should return a slot with the applied parameters.- Parameters:
container
- Inventory containerindex
- Index for this inventoryx
- X coordinatey
- Y coordinate- Returns:
- A new slot instance
-