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

public record EntityHasScoreCondition

implements LootItemCondition

fcl
net.minecraft.world.level.storage.loot.predicates.EntityHasScoreCondition
net.minecraft.class_199
net.minecraft.unmapped.C_alodcxmm
net.minecraft.loot.condition.EntityScoresLootCondition
net.minecraft.loot.condition.EntityScoresLootCondition

Field summary

Modifier and TypeField
private final Map<String, IntRange>
b
scores
comp_1871
f_xfplbnmb
scores
scores
private final LootContext$EntityTarget
c
entityTarget
comp_1872
f_iaqrvtxp
entity
target
public static final com.mojang.serialization.MapCodec<EntityHasScoreCondition>
a
CODEC
field_45863
f_pnkitvvx
CODEC
CODEC

Constructor summary

ModifierConstructor
public (Map<String, IntRange> scores, LootContext$EntityTarget target)

Method summary

Modifier and TypeMethod
public LootItemConditionType
b()
getType()
method_29325()
m_pfwldqai()
getType()
getType()
public Set<ContextKey<?>>
a()
getReferencedContextParams()
method_293()
m_oozesizv()
getAllowedParameters()
getRequiredParameters()
public boolean
a(ezh arg0)
test(LootContext arg0)
method_864(class_47 arg0)
m_bimwyzcb(C_iakykpgh arg0)
test(LootContext arg0)
test(LootContext context)
protected boolean
a(ezh arg0, bwf arg1, ffv arg2, String arg3, ezg arg4)
hasScore(LootContext arg0, Entity arg1, Scoreboard arg2, String arg3, IntRange arg4)
method_865(class_47 arg0, class_1297 arg1, class_269 arg2, String arg3, class_42 arg4)
m_iblchzoj(C_iakykpgh arg0, C_astfners arg1, C_ymwyplge arg2, String arg3, C_rcavspxn arg4)
entityScoreIsInRange(LootContext context, Entity entity, Scoreboard scoreboard, String objectiveName, BoundedIntUnaryOperator range)
entityScoreIsInRange(LootContext context, Entity entity, Scoreboard scoreboard, String objectiveName, BoundedIntUnaryOperator range)
public static EntityHasScoreCondition$Builder
a(ezh$b arg0)
hasScores(LootContext$EntityTarget arg0)
method_35557(class_47$class_50 arg0)
m_vcfvuuit(C_iakykpgh$C_qtufoufh arg0)
create(LootContext$EntityTarget target)
create(LootContext$EntityTarget target)
public Map<String, IntRange>
c()
scores()
comp_1871()
m_qfbpbyop()
scores()
scores()
public LootContext$EntityTarget
d()
entityTarget()
comp_1872()
m_razdlvlw()
entity()
entityTarget()