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

public record EnchantmentActiveCheck

implements LootItemCondition

euw
net.minecraft.world.level.storage.loot.predicates.EnchantmentActiveCheck
net.minecraft.class_9752
net.minecraft.loot.condition.EnchantmentActiveCheckLootCondition
net.minecraft.src.C_336551_
net.minecraft.world.level.storage.loot.predicates.EnchantmentActiveCheck

Field summary

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

Constructor summary

ModifierConstructor
public (boolean arg0)

Method summary

Modifier and TypeMethod
public boolean
a(err arg0)
test(LootContext arg0)
method_60304(class_47 arg0)
test(LootContext arg0)
test(C_2811_ arg0)
public LootItemConditionType
b()
getType()
method_29325()
getType()
m_7940_()
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_6231_()
public static LootItemCondition$Builder
c()
enchantmentActiveCheck()
method_60305()
requireActive()
m_340502_()
public static LootItemCondition$Builder
d()
enchantmentInactiveCheck()
method_60306()
requireInactive()
m_339733_()
public boolean
e()
active()
comp_2780()
active()
f_336813_()