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

public record LootItemEntityPropertyCondition

implements LootItemCondition

efs
net.minecraft.world.level.storage.loot.predicates.LootItemEntityPropertyCondition
net.minecraft.class_215
net.minecraft.unmapped.C_kkszwind
net.minecraft.loot.condition.EntityPropertiesLootCondition
net.minecraft.loot.condition.EntityPropertiesLootCondition
net.minecraft.src.C_3008_
net.minecraft.world.level.storage.loot.predicates.LootItemConditionEntityProperty

Field summary

Modifier and TypeField
private final Optional<EntityPredicate>
b
predicate
comp_1879
f_sqicwjpz
predicate
predicate
f_81846_
private final LootContext$EntityTarget
c
entityTarget
comp_1880
f_lcxsdenc
entity
entity
f_81847_
public static final com.mojang.serialization.Codec<LootItemEntityPropertyCondition>
a
CODEC
field_45871
f_triohphr
CODEC
CODEC
f_291269_

Constructor summary

ModifierConstructor
public (Optional<EntityPredicate> predicate, LootContext$EntityTarget entity)

Method summary

Modifier and TypeMethod
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 boolean
a(ecq arg0)
test(LootContext arg0)
method_914(class_47 arg0)
m_oqgryqfu(C_iakykpgh arg0)
test(LootContext arg0)
test(LootContext arg0)
test(C_2811_ arg0)
public static LootItemCondition$Builder
a(ecq$b arg0)
entityPresent(LootContext$EntityTarget arg0)
method_15972(class_47$class_50 arg0)
m_chrdjoco(C_iakykpgh$C_qtufoufh arg0)
create(LootContext$EntityTarget entity)
create(LootContext$EntityTarget entity)
m_81862_(C_2811_$C_2815_ p_81863_)
public static LootItemCondition$Builder
a(ecq$b arg0, bq$a arg1)
hasProperties(LootContext$EntityTarget arg0, EntityPredicate$Builder arg1)
method_917(class_47$class_50 arg0, class_2048$class_2049 arg1)
m_ikmptnrn(C_iakykpgh$C_qtufoufh arg0, C_kvkvpjlm$C_fnhnavbg arg1)
builder(LootContext$EntityTarget entity, EntityPredicate$Builder predicateBuilder)
builder(LootContext$EntityTarget entity, EntityPredicate$Builder predicateBuilder)
m_81864_(C_2811_$C_2815_ p_81865_, C_1147_$C_1149_ p_81866_)
public static LootItemCondition$Builder
a(ecq$b arg0, bq arg1)
hasProperties(LootContext$EntityTarget arg0, EntityPredicate arg1)
method_27865(class_47$class_50 arg0, class_2048 arg1)
m_nigoczgi(C_iakykpgh$C_qtufoufh arg0, C_kvkvpjlm arg1)
builder(LootContext$EntityTarget entity, EntityPredicate predicate)
builder(LootContext$EntityTarget entity, EntityPredicate predicate)
m_81867_(C_2811_$C_2815_ p_81868_, C_1147_ p_81869_)
public Optional<EntityPredicate>
c()
predicate()
comp_1879()
m_wbdockru()
predicate()
predicate()
f_81846_()
public LootContext$EntityTarget
d()
entityTarget()
comp_1880()
m_acyustqk()
entity()
entityTarget()
f_81847_()