Class ContainerLayout.Builder
java.lang.Object
net.ixdarklord.coolcatcore.api.container.ContainerLayout.Builder
- Enclosing class:
ContainerLayout
-
Method Summary
Modifier and TypeMethodDescriptionbuild()face(net.minecraft.core.Direction side, int... slots) The only slots automation reaches throughside.What slotsfrom(inclusive) toto(exclusive) accept, from anyone.limit(int slot, int max) limit(int from, int to, int max) maxStackSize(int maxStackSize) The most items any slot holds (99 by default, and never more than an item's own stack size).
-
Method Details
-
maxStackSize
The most items any slot holds (99 by default, and never more than an item's own stack size). -
filter
public ContainerLayout.Builder filter(int slot, Predicate<net.minecraft.world.item.ItemStack> filter) -
filter
public ContainerLayout.Builder filter(int from, int to, Predicate<net.minecraft.world.item.ItemStack> filter) What slotsfrom(inclusive) toto(exclusive) accept, from anyone. -
limit
-
limit
-
role
-
role
-
face
The only slots automation reaches throughside. Faces not set reach every slot. -
keepContentsOnBreak
-
build
-