net.minecraft.inventory

public record SlotSelector$Limit

implements SlotSelector

net.minecraft.world.item.slot.SlotSelector$TrackingSelector
net.minecraft.class_1_1052$class_1_1054
net.minecraft.inventory.SlotSelector$Limit

Field summary

Modifier and TypeField
private final SlotSelector
slotSelector
comp_1_911
slotSelector
private final int
limit
comp_1_909
limit
private final org.apache.commons.lang3.mutable.MutableInt
selectedCount
comp_1_910
selectedCount

Constructor summary

ModifierConstructor
public (SlotSelector slotSelector, int limit, org.apache.commons.lang3.mutable.MutableInt selectedCount)

Method summary

Modifier and TypeMethod
public boolean
trySelectSlot(ItemStack itemInSlot)
method_1_6613(class_1799 arg0)
test(ItemStack arg0)
public SlotSelector
filter(Predicate<? super ItemStack> predicate)
method_1_6607(Predicate<? super class_1799> arg0)
restrict(Predicate<? super ItemStack> arg0)
public SlotSelector
limit(int limit)
method_1_6609(int arg0)
limit(int arg0)
public SlotSelector
slotSelector()
comp_1_911()
slotSelector()
public int
limit()
comp_1_909()
limit()
public org.apache.commons.lang3.mutable.MutableInt
selectedCount()
comp_1_910()
selectedCount()