net.minecraft.loot.condition

public record EnchantmentActiveCheckLootCondition

implements LootCondition

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

Field summary

Modifier and TypeField
private final boolean
active
active
comp_2780
active
public static final com.mojang.serialization.MapCodec<EnchantmentActiveCheckLootCondition>
MAP_CODEC
MAP_CODEC
field_51807
CODEC

Constructor summary

ModifierConstructor
public (boolean active)

Method summary

Modifier and TypeMethod
public boolean
test(LootContext lootContext)
test(LootContext lootContext)
method_60304(class_47 arg0)
test(LootContext arg0)
public com.mojang.serialization.MapCodec<EnchantmentActiveCheckLootCondition>
codec()
codec()
method_1_745()
getCodec()
public Set<ContextParameter<?>>
getReferencedContextParams()
getReferencedContextParams()
method_293()
getAllowedParameters()
public static LootCondition$Builder
enchantmentActiveCheck()
enchantmentActiveCheck()
method_60305()
requireActive()
public static LootCondition$Builder
enchantmentInactiveCheck()
enchantmentInactiveCheck()
method_60306()
requireInactive()
public boolean
active()
active()
comp_2780()
active()