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

public record EnchantmentActiveCheck

implements LootItemCondition

fck
net.minecraft.world.level.storage.loot.predicates.EnchantmentActiveCheck
net.minecraft.class_9752
net.minecraft.unmapped.C_myfyjuce
net.minecraft.loot.condition.EnchantmentActiveCheckLootCondition
net.minecraft.loot.condition.CheckEnchantmentActiveLootCondition

Field summary

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

Constructor summary

ModifierConstructor
public (boolean active)

Method summary

Modifier and TypeMethod
public boolean
a(ezh arg0)
test(LootContext arg0)
method_60304(class_47 arg0)
m_lpjnsjry(C_iakykpgh arg0)
test(LootContext arg0)
test(LootContext context)
public LootItemConditionType
b()
getType()
method_29325()
m_pfwldqai()
getType()
getType()
public Set<ContextKey<?>>
a()
getReferencedContextParams()
method_293()
m_oozesizv()
getAllowedParameters()
getRequiredParameters()
public static LootItemCondition$Builder
c()
enchantmentActiveCheck()
method_60305()
m_nzaxrieg()
requireActive()
activeBuilder()
public static LootItemCondition$Builder
d()
enchantmentInactiveCheck()
method_60306()
m_oxyvqvae()
requireInactive()
inactiveBuilder()
public boolean
e()
active()
comp_2780()
m_tbwkykow()
active()
active()