Package net.minecraft.commands.arguments
Class MessageArgument.Part
java.lang.Object
net.minecraft.commands.arguments.MessageArgument.Part
- Enclosing class:
MessageArgument
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final EntitySelector
private final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getEnd()
int
getStart()
toComponent
(CommandSourceStack p_96861_)
-
Field Details
-
start
private final int start -
end
private final int end -
selector
-
-
Constructor Details
-
Part
-
-
Method Details
-
getStart
public int getStart() -
getEnd
public int getEnd() -
getSelector
-
toComponent
@Nullable public Component toComponent(CommandSourceStack p_96861_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-