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

public record ConditionReference

implements LootItemCondition

ezp
net.minecraft.world.level.storage.loot.predicates.ConditionReference
net.minecraft.class_4568
net.minecraft.loot.condition.ReferenceLootCondition
net.minecraft.world.level.storage.loot.predicates.LootItemConditionReference

Field summary

Modifier and TypeField
private final ResourceKey<LootItemCondition>
b
name
comp_1869
id
private static final org.slf4j.Logger
c
LOGGER
field_20763
LOGGER
public static final com.mojang.serialization.MapCodec<ConditionReference>
a
CODEC
field_45861
CODEC

Constructor summary

ModifierConstructor
public (ResourceKey<LootItemCondition> arg0)

Method summary

Modifier and TypeMethod
public LootItemConditionType
b()
getType()
method_29325()
getType()
public void
a(ewv arg0)
validate(ValidationContext arg0)
method_292(class_58 arg0)
validate(LootTableReporter arg0)
public boolean
a(ewp arg0)
test(LootContext arg0)
method_22579(class_47 arg0)
test(LootContext arg0)
public static LootItemCondition$Builder
a(aly<ezy> arg0)
conditionReference(ResourceKey<LootItemCondition> arg0)
method_35555(class_5321<class_5341> arg0)
builder(RegistryKey<LootCondition> key)
public ResourceKey<LootItemCondition>
c()
name()
comp_1869()
id()