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

public record ConditionReference

implements LootItemCondition

eut
net.minecraft.world.level.storage.loot.predicates.ConditionReference
net.minecraft.class_4568
net.minecraft.loot.condition.ReferenceLootCondition
net.minecraft.src.C_2982_
net.minecraft.world.level.storage.loot.predicates.LootItemConditionReference

Field summary

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

Constructor summary

ModifierConstructor
public (ResourceKey<LootItemCondition> arg0)

Method summary

Modifier and TypeMethod
public LootItemConditionType
b()
getType()
method_29325()
getType()
m_7940_()
public void
a(erx arg0)
validate(ValidationContext arg0)
method_292(class_58 arg0)
validate(LootTableReporter arg0)
m_6169_(C_2837_ arg0)
public boolean
a(err arg0)
test(LootContext arg0)
method_22579(class_47 arg0)
test(LootContext arg0)
test(C_2811_ arg0)
public static LootItemCondition$Builder
a(akq<evc> arg0)
conditionReference(ResourceKey<LootItemCondition> arg0)
method_35555(class_5321<class_5341> arg0)
builder(RegistryKey<LootCondition> key)
m_165480_(C_5264_<C_3004_> p_330473_)
public ResourceKey<LootItemCondition>
c()
name()
comp_1869()
id()
f_81550_()