net.minecraft.world.level.storage.loot.predicates

public record EnchantmentActiveCheck

implements LootItemCondition

ezs
net.minecraft.world.level.storage.loot.predicates.EnchantmentActiveCheck
net.minecraft.class_9752
net.minecraft.loot.condition.EnchantmentActiveCheckLootCondition
net.minecraft.world.level.storage.loot.predicates.EnchantmentActiveCheck

Field summary

Modifier and TypeField
private final boolean
b
active
comp_2780
active
public static final com.mojang.serialization.MapCodec<EnchantmentActiveCheck>
a
CODEC
field_51807
CODEC

Constructor summary

ModifierConstructor
public (boolean arg0)

Method summary

Modifier and TypeMethod
public boolean
a(ewp arg0)
test(LootContext arg0)
method_60304(class_47 arg0)
test(LootContext arg0)
public LootItemConditionType
b()
getType()
method_29325()
getType()
public Set<ContextKey<?>>
a()
getReferencedContextParams()
method_293()
getAllowedParameters()
public static LootItemCondition$Builder
c()
enchantmentActiveCheck()
method_60305()
requireActive()
public static LootItemCondition$Builder
d()
enchantmentInactiveCheck()
method_60306()
requireInactive()
public boolean
e()
active()
comp_2780()
active()