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

public record EntityHasScoreCondition

implements LootItemCondition

fes
net.minecraft.world.level.storage.loot.predicates.EntityHasScoreCondition
net.minecraft.class_199

Field summary

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

Constructor summary

ModifierConstructor
public (Map<String, IntRange> arg0, LootContext$EntityTarget arg1)

Method summary

Modifier and TypeMethod
public LootItemConditionType
b()
getType()
method_29325()
public Set<ContextKey<?>>
a()
getReferencedContextParams()
method_293()
public boolean
a(fbo arg0)
test(LootContext arg0)
method_864(class_47 arg0)
protected boolean
a(fbo arg0, bxs arg1, fic arg2, String arg3, fbn 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)
public static EntityHasScoreCondition$Builder
a(fbo$b arg0)
hasScores(LootContext$EntityTarget arg0)
method_35557(class_47$class_50 arg0)
public Map<String, IntRange>
c()
scores()
comp_1871()
public LootContext$EntityTarget
d()
entityTarget()
comp_1872()