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.unmapped.C_myfyjuce
net.minecraft.loot.condition.EnchantmentActiveCheckLootCondition
net.minecraft.unmapped.C_myfyjuce
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
f_qrsontwu
active
active
f_336813_
public static final com.mojang.serialization.MapCodec<EnchantmentActiveCheck>
a
CODEC
field_51807
f_omzddfuq
CODEC
CODEC
f_337084_

Constructor summary

ModifierConstructor
public (boolean active)

Method summary

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