public static class MessageArgument.Part
extends java.lang.Object
Constructor and Description |
---|
Part(int startIn,
int endIn,
EntitySelector selectorIn) |
Modifier and Type | Method and Description |
---|---|
int |
getEnd() |
int |
getStart() |
ITextComponent |
toComponent(CommandSource source) |
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