public static class MessageArgument.Part
extends java.lang.Object
コンストラクタと説明 |
---|
Part(int startIn,
int endIn,
EntitySelector selectorIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
int |
getEnd() |
int |
getStart() |
ITextComponent |
toComponent(CommandSource source)
Runs the selector and returns the component produced by it.
|
public Part(int startIn, int endIn, EntitySelector selectorIn)
public int getStart()
public int getEnd()
@Nullable public ITextComponent toComponent(CommandSource source) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException