Class PlaceCommand

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

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

    • FEATURE_FAILED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FEATURE_FAILED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official a Lacn;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_36324 Lnet/minecraft/class_6852;field_36324:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named FEATURE_FAILED_EXCEPTION Lnet/minecraft/server/command/PlaceCommand;FEATURE_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • JIGSAW_FAILED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType JIGSAW_FAILED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official b Lacn;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_39091 Lnet/minecraft/class_6852;field_39091:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named JIGSAW_FAILED_EXCEPTION Lnet/minecraft/server/command/PlaceCommand;JIGSAW_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • STRUCTURE_FAILED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType STRUCTURE_FAILED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official c Lacn;c:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_39092 Lnet/minecraft/class_6852;field_39092:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named STRUCTURE_FAILED_EXCEPTION Lnet/minecraft/server/command/PlaceCommand;STRUCTURE_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
  • Constructor Details

    • PlaceCommand

      public PlaceCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
      Mappings:
      Namespace Name Mixin selector
      official a Lacn;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/PlaceCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
    • executePlaceFeature

      public static int executePlaceFeature(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 Lacn;a(Ldr;Lgy;Lgp;)I
      intermediary method_39989 Lnet/minecraft/class_6852;method_39989(Lnet/minecraft/class_2168;Lnet/minecraft/class_6880;Lnet/minecraft/class_2338;)I
      named executePlaceFeature Lnet/minecraft/server/command/PlaceCommand;executePlaceFeature(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/registry/RegistryEntry;Lnet/minecraft/util/math/BlockPos;)I
    • executePlaceJigsaw

      public static int executePlaceJigsaw(ServerCommandSource source, RegistryEntry<StructurePool> structurePool, Identifier id, int int2, BlockPos pos) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lacn;a(Ldr;Lgy;Lzy;ILgp;)I
      intermediary method_43650 Lnet/minecraft/class_6852;method_43650(Lnet/minecraft/class_2168;Lnet/minecraft/class_6880;Lnet/minecraft/class_2960;ILnet/minecraft/class_2338;)I
      named executePlaceJigsaw Lnet/minecraft/server/command/PlaceCommand;executePlaceJigsaw(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/registry/RegistryEntry;Lnet/minecraft/util/Identifier;ILnet/minecraft/util/math/BlockPos;)I
    • executePlaceStructure

      public static int executePlaceStructure(ServerCommandSource source, RegistryEntry<StructureType> structureType, BlockPos pos) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official b Lacn;b(Ldr;Lgy;Lgp;)I
      intermediary method_43654 Lnet/minecraft/class_6852;method_43654(Lnet/minecraft/class_2168;Lnet/minecraft/class_6880;Lnet/minecraft/class_2338;)I
      named executePlaceStructure Lnet/minecraft/server/command/PlaceCommand;executePlaceStructure(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/registry/RegistryEntry;Lnet/minecraft/util/math/BlockPos;)I
    • throwOnUnloadedPos

      private static void throwOnUnloadedPos(ServerWorld world, ChunkPos pos1, ChunkPos pos2) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lacn;a(Lafd;Lceh;Lceh;)V
      intermediary method_43647 Lnet/minecraft/class_6852;method_43647(Lnet/minecraft/class_3218;Lnet/minecraft/class_1923;Lnet/minecraft/class_1923;)V
      named throwOnUnloadedPos Lnet/minecraft/server/command/PlaceCommand;throwOnUnloadedPos(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/util/math/ChunkPos;)V