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