Package top.girlkisser.lazuli.api.menu
Interface AbstractLazuliContainer.SlotFactory
- Enclosing class:
AbstractLazuliContainer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A factory to create
Slots from.-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.inventory.SlotmakeSlot(net.minecraft.world.Container container, int slot, int x, int y) Creates a slot using the provided coordinates, index, and container.
-
Method Details
-
makeSlot
net.minecraft.world.inventory.Slot makeSlot(net.minecraft.world.Container container, int slot, int x, int y) Creates a slot using the provided coordinates, index, and container.- Parameters:
container- The container.slot- The index that this slot is for.x- The X coordinate.y- The Y coordinate.- Returns:
- A
Slotor child.
-