Class PlaceFeatureCommand

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

public class PlaceFeatureCommand extends Object
Mappings:
Namespace Name
official abh
intermediary net/minecraft/class_6852
named net/minecraft/server/command/PlaceFeatureCommand
  • Field Details

    • FAILED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official a Labh;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_36324 Lnet/minecraft/class_6852;field_36324:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named FAILED_EXCEPTION Lnet/minecraft/server/command/PlaceFeatureCommand;FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
  • Constructor Details

    • PlaceFeatureCommand

      public PlaceFeatureCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
      Mappings:
      Namespace Name Mixin selector
      official a Labh;a(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_39986 Lnet/minecraft/class_6852;method_39986(Lcom/mojang/brigadier/CommandDispatcher;)V
      named register Lnet/minecraft/server/command/PlaceFeatureCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
    • execute

      public static int execute(ServerCommandSource source, RegistryEntry<ConfiguredFeature<?,?>> feature, BlockPos pos) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Labh;a(Ldm;Lgs;Lgj;)I
      intermediary method_39989 Lnet/minecraft/class_6852;method_39989(Lnet/minecraft/class_2168;Lnet/minecraft/class_6880;Lnet/minecraft/class_2338;)I
      named execute Lnet/minecraft/server/command/PlaceFeatureCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/registry/RegistryEntry;Lnet/minecraft/util/math/BlockPos;)I