类 EntityHasScoreCondition
java.lang.Object
net.minecraft.world.level.storage.loot.predicates.EntityHasScoreCondition
- 所有已实现的接口:
Predicate<LootContext>
,LootContextUser
,LootItemCondition
-
嵌套类概要
嵌套类修饰符和类型类说明static class
static class
-
字段概要
字段 -
构造器概要
构造器构造器说明EntityHasScoreCondition
(Map<String, IntRange> pScoreRanges, LootContext.EntityTarget pEntityTarget) -
方法概要
修饰符和类型方法说明Set<LootContextParam<?>>
getType()
protected boolean
hasScore
(LootContext pLootContext, Entity pTargetEntity, Scoreboard pScoreboard, String pObjectiveName, IntRange pScoreRange) hasScores
(LootContext.EntityTarget pEntityTarget) boolean
test
(LootContext p_81631_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.world.level.storage.loot.LootContextUser
validate
-
字段详细资料
-
scores
-
entityTarget
-
-
构造器详细资料
-
EntityHasScoreCondition
EntityHasScoreCondition(Map<String, IntRange> pScoreRanges, LootContext.EntityTarget pEntityTarget)
-
-
方法详细资料
-
getType
- 指定者:
getType
在接口中LootItemCondition
-
getReferencedContextParams
- 指定者:
getReferencedContextParams
在接口中LootContextUser
-
test
- 指定者:
test
在接口中Predicate<LootContext>
-
hasScore
protected boolean hasScore(LootContext pLootContext, Entity pTargetEntity, Scoreboard pScoreboard, String pObjectiveName, IntRange pScoreRange) -
hasScores
-