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

public class EntityHasScoreCondition

implements LootItemCondition

dus
net.minecraft.world.level.storage.loot.predicates.EntityHasScoreCondition
net.minecraft.class_199
net.minecraft.loot.condition.EntityScoresLootCondition
net.minecraft.src.C_2989_
net.minecraft.world.level.storage.loot.predicates.LootItemConditionEntityScore

Field summary

Modifier and TypeField
final Map<String, IntRange>
a
scores
field_1279
scores
f_81615_
final LootContext$EntityTarget
b
entityTarget
field_1278
target
f_81616_

Constructor summary

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

Method summary

Modifier and TypeMethod
public LootItemConditionType
a()
getType()
method_29325()
getType()
m_7940_()
public Set<LootContextParam<?>>
b()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_6231_()
public boolean
a(dsd arg0)
test(LootContext arg0)
method_864(class_47 arg0)
test(LootContext arg0)
test(C_2811_ arg0)
protected boolean
a(dsd arg0, bbn arg1, dxo arg2, String arg3, dsb 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)
entityScoreIsInRange(LootContext context, Entity entity, Scoreboard scoreboard, String objectiveName, BoundedIntUnaryOperator range)
m_165490_(C_2811_ p_165492_, C_507_ p_165493_, C_3076_ p_165494_, String p_165495_, C_141456_ arg4)
public static EntityHasScoreCondition$Builder
a(dsd$c arg0)
hasScores(LootContext$EntityTarget arg0)
method_35557(class_47$class_50 arg0)
create(LootContext$EntityTarget target)
m_165488_(C_2815_ p_165489_)