Class CloneCommand


  • public class CloneCommand
    extends java.lang.Object
    • Field Detail

      • ERROR_OVERLAP

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_OVERLAP
      • ERROR_AREA_TOO_LARGE

        private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType ERROR_AREA_TOO_LARGE
      • ERROR_FAILED

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_FAILED
      • FILTER_AIR

        public static final java.util.function.Predicate<CachedBlockInfo> FILTER_AIR
    • Constructor Detail

      • CloneCommand

        public CloneCommand()
    • Method Detail

      • register

        public static void register​(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198265_0_)
      • clone

        private static int clone​(CommandSource p_198274_0_,
                                 BlockPos p_198274_1_,
                                 BlockPos p_198274_2_,
                                 BlockPos p_198274_3_,
                                 java.util.function.Predicate<CachedBlockInfo> p_198274_4_,
                                 CloneCommand.Mode p_198274_5_)
                          throws com.mojang.brigadier.exceptions.CommandSyntaxException
        Throws:
        com.mojang.brigadier.exceptions.CommandSyntaxException