类 ScoreContents
java.lang.Object
net.minecraft.network.chat.contents.ScoreContents
- 所有已实现的接口:
ComponentContents
-
字段概要
字段修饰符和类型字段说明private final String
private final String
private static final String
private final EntitySelector
从接口继承的字段 net.minecraft.network.chat.ComponentContents
EMPTY
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
private String
findTargetName
(CommandSourceStack pSource) getName()
private String
getScore
(String pName, CommandSourceStack pSource) int
hashCode()
private static EntitySelector
parseSelector
(String pSelector) resolve
(CommandSourceStack pNbtPathPattern, Entity pEntity, int pRecursionDepth) toString()
从接口继承的方法 net.minecraft.network.chat.ComponentContents
visit, visit
-
字段详细资料
-
SCORER_PLACEHOLDER
- 另请参阅:
-
name
-
selector
-
objective
-
-
构造器详细资料
-
ScoreContents
-
-
方法详细资料
-
parseSelector
-
getName
-
getSelector
-
getObjective
-
findTargetName
private String findTargetName(CommandSourceStack pSource) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getScore
-
resolve
public MutableComponent resolve(@Nullable CommandSourceStack pNbtPathPattern, @Nullable Entity pEntity, int pRecursionDepth) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 指定者:
resolve
在接口中ComponentContents
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
equals
-
hashCode
public int hashCode() -
toString
-