net.minecraft.predicate.entity

public record SlotsPredicate

net.minecraft.advancements.predicates.SlotsPredicate
net.minecraft.class_9350
net.minecraft.predicate.entity.SlotsPredicate

Field summary

Modifier and TypeField
private final Map<SlotRange, ItemPredicate>
slots
comp_2455
slots
public static final com.mojang.serialization.Codec<SlotsPredicate>
CODEC
field_49755
CODEC

Constructor summary

ModifierConstructor
public (Map<SlotRange, ItemPredicate> slots)

Method summary

Modifier and TypeMethod
public boolean
matches(SlotProvider slotProvider)
method_58119(class_12260 arg0)
matches(StackReferenceGetter arg0)
private static boolean
matchSlots(SlotProvider slotProvider, ItemPredicate test, it.unimi.dsi.fastutil.ints.IntList slots)
method_58120(class_12260 arg0, class_2073 arg1, it.unimi.dsi.fastutil.ints.IntList arg2)
matches(StackReferenceGetter arg0, ItemPredicate itemPredicate, it.unimi.dsi.fastutil.ints.IntList slotIds)
public Map<SlotRange, ItemPredicate>
slots()
comp_2455()
slots()