类 SelectorContents
java.lang.Object
net.minecraft.network.chat.contents.SelectorContents
- 所有已实现的接口:
ComponentContents
-
字段概要
字段修饰符和类型字段说明private static final org.slf4j.Logger
private final String
private final EntitySelector
从接口继承的字段 net.minecraft.network.chat.ComponentContents
EMPTY
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
int
hashCode()
private static EntitySelector
parseSelector
(String pSelector) resolve
(CommandSourceStack pNbtPathPattern, Entity pEntity, int pRecursionDepth) toString()
<T> Optional<T>
visit
(FormattedText.ContentConsumer<T> pContentConsumer) <T> Optional<T>
visit
(FormattedText.StyledContentConsumer<T> pStyledContentConsumer, Style pStyle)
-
字段详细资料
-
LOGGER
private static final org.slf4j.Logger LOGGER -
pattern
-
selector
-
separator
-
-
构造器详细资料
-
SelectorContents
-
-
方法详细资料
-
parseSelector
-
getPattern
-
getSelector
-
getSeparator
-
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
-
visit
public <T> Optional<T> visit(FormattedText.StyledContentConsumer<T> pStyledContentConsumer, Style pStyle) - 指定者:
visit
在接口中ComponentContents
-
visit
- 指定者:
visit
在接口中ComponentContents
-
equals
-
hashCode
public int hashCode() -
toString
-