Package net.minecraft.command.arguments
Class MessageArgument.Part
- java.lang.Object
-
- net.minecraft.command.arguments.MessageArgument.Part
-
- Enclosing class:
- MessageArgument
public static class MessageArgument.Part extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private int
end
private EntitySelector
selector
private int
start
-
Constructor Summary
Constructors Constructor Description Part(int p_i48020_1_, int p_i48020_2_, EntitySelector p_i48020_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getEnd()
int
getStart()
ITextComponent
toComponent(CommandSource p_197116_1_)
-
-
-
Field Detail
-
start
private final int start
-
end
private final int end
-
selector
private final EntitySelector selector
-
-
Constructor Detail
-
Part
public Part(int p_i48020_1_, int p_i48020_2_, EntitySelector p_i48020_3_)
-
-
Method Detail
-
getStart
public int getStart()
-
getEnd
public int getEnd()
-
toComponent
@Nullable public ITextComponent toComponent(CommandSource p_197116_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
-