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.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
predicate
f_81846_
private final LootContext$EntityTarget
c
entityTarget
comp_1880
entity
f_81847_
public static final com.mojang.serialization.Codec<LootItemEntityPropertyCondition>
a
CODEC
field_45871
CODEC
f_291269_

Constructor summary

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

Method summary

Modifier and TypeMethod
public LootItemConditionType
b()
getType()
method_29325()
getType()
m_7940_()
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_6231_()
public boolean
a(ecq arg0)
test(LootContext arg0)
method_914(class_47 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)
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)
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)
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()
predicate()
f_81846_()
public LootContext$EntityTarget
d()
entityTarget()
comp_1880()
entity()
f_81847_()