Class FillCommand

java.lang.Object
net.minecraft.server.command.FillCommand

public class FillCommand extends Object
Mappings:
Namespace Name
official afd
intermediary net/minecraft/class_3057
named net/minecraft/server/command/FillCommand
  • Field Details

    • TOO_BIG_EXCEPTION

      private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType TOO_BIG_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official a Lafd;a:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
      intermediary field_13649 Lnet/minecraft/class_3057;field_13649:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
      named TOO_BIG_EXCEPTION Lnet/minecraft/server/command/FillCommand;TOO_BIG_EXCEPTION:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
    • AIR_BLOCK_ARGUMENT

      static final BlockStateArgument AIR_BLOCK_ARGUMENT
      Mappings:
      Namespace Name Mixin selector
      official b Lafd;b:Lfc;
      intermediary field_13648 Lnet/minecraft/class_3057;field_13648:Lnet/minecraft/class_2247;
      named AIR_BLOCK_ARGUMENT Lnet/minecraft/server/command/FillCommand;AIR_BLOCK_ARGUMENT:Lnet/minecraft/command/argument/BlockStateArgument;
    • FAILED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official c Lafd;c:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13650 Lnet/minecraft/class_3057;field_13650:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named FAILED_EXCEPTION Lnet/minecraft/server/command/FillCommand;FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
  • Constructor Details

    • FillCommand

      public FillCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess)
      Mappings:
      Namespace Name Mixin selector
      official a Lafd;a(Lcom/mojang/brigadier/CommandDispatcher;Ldl;)V
      intermediary method_13347 Lnet/minecraft/class_3057;method_13347(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_7157;)V
      named register Lnet/minecraft/server/command/FillCommand;register(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/command/CommandRegistryAccess;)V
    • execute

      private static int execute(ServerCommandSource source, BlockBox range, BlockStateArgument block, FillCommand.Mode mode, @Nullable @Nullable Predicate<CachedBlockPosition> filter) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lafd;a(Ldr;Ldrh;Lfc;Lafd$a;Ljava/util/function/Predicate;)I
      intermediary method_13354 Lnet/minecraft/class_3057;method_13354(Lnet/minecraft/class_2168;Lnet/minecraft/class_3341;Lnet/minecraft/class_2247;Lnet/minecraft/class_3057$class_3058;Ljava/util/function/Predicate;)I
      named execute Lnet/minecraft/server/command/FillCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/command/argument/BlockStateArgument;Lnet/minecraft/server/command/FillCommand$Mode;Ljava/util/function/Predicate;)I