Class MessageArgument.Part

  • Enclosing class:
    MessageArgument

    public static class MessageArgument.Part
    extends java.lang.Object
    • Field Detail

      • start

        private final int start
      • end

        private final int end
    • 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