Class FillCommand

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

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

    • TOO_BIG_EXCEPTION

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

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

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named FAILED_EXCEPTION Lnet/minecraft/server/command/FillCommand;FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13650 Lnet/minecraft/class_3057;field_13650:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official c Lanj;c: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
      named register Lnet/minecraft/server/command/FillCommand;register(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/command/CommandRegistryAccess;)V
      intermediary method_13347 Lnet/minecraft/class_3057;method_13347(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_7157;)V
      official a Lanj;a(Lcom/mojang/brigadier/CommandDispatcher;Lel;)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
      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
      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
      official a Lanj;a(Lep;Leid;Lgg;Lanj$a;Ljava/util/function/Predicate;)I