Class PlaceCommand

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

public class PlaceCommand extends Object
Mappings:
Namespace Name
official afk
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 Lafk;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 Lafk;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 Lafk;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;
    • TEMPLATE_INVALID_EXCEPTION

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType TEMPLATE_INVALID_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official d Lafk;d:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_39256 Lnet/minecraft/class_6852;field_39256:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      named TEMPLATE_INVALID_EXCEPTION Lnet/minecraft/server/command/PlaceCommand;TEMPLATE_INVALID_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • TEMPLATE_FAILED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType TEMPLATE_FAILED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official e Lafk;e:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_39257 Lnet/minecraft/class_6852;field_39257:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named TEMPLATE_FAILED_EXCEPTION Lnet/minecraft/server/command/PlaceCommand;TEMPLATE_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • SUGGESTION_PROVIDER

      private static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SUGGESTION_PROVIDER
      Mappings:
      Namespace Name Mixin selector
      official f Lafk;f:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
      intermediary field_39393 Lnet/minecraft/class_6852;field_39393:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
      named SUGGESTION_PROVIDER Lnet/minecraft/server/command/PlaceCommand;SUGGESTION_PROVIDER:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
  • 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 Lafk;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.Reference<ConfiguredFeature<?,?>> feature, BlockPos pos) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lafk;a(Lds;Lhe$c;Lgu;)I
      intermediary method_39989 Lnet/minecraft/class_6852;method_39989(Lnet/minecraft/class_2168;Lnet/minecraft/class_6880$class_6883;Lnet/minecraft/class_2338;)I
      named executePlaceFeature Lnet/minecraft/server/command/PlaceCommand;executePlaceFeature(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/registry/entry/RegistryEntry$Reference;Lnet/minecraft/util/math/BlockPos;)I
    • executePlaceJigsaw

      public static int executePlaceJigsaw(ServerCommandSource source, RegistryEntry<StructurePool> structurePool, Identifier id, int maxDepth, BlockPos pos) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lafk;a(Lds;Lhe;Lacq;ILgu;)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/registry/entry/RegistryEntry;Lnet/minecraft/util/Identifier;ILnet/minecraft/util/math/BlockPos;)I
    • executePlaceStructure

      public static int executePlaceStructure(ServerCommandSource source, RegistryEntry.Reference<Structure> structure, BlockPos pos) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official b Lafk;b(Lds;Lhe$c;Lgu;)I
      intermediary method_43654 Lnet/minecraft/class_6852;method_43654(Lnet/minecraft/class_2168;Lnet/minecraft/class_6880$class_6883;Lnet/minecraft/class_2338;)I
      named executePlaceStructure Lnet/minecraft/server/command/PlaceCommand;executePlaceStructure(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/registry/entry/RegistryEntry$Reference;Lnet/minecraft/util/math/BlockPos;)I
    • executePlaceTemplate

      public static int executePlaceTemplate(ServerCommandSource source, Identifier id, BlockPos pos, BlockRotation rotation, BlockMirror mirror, float integrity, int seed) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lafk;a(Lds;Lacq;Lgu;Lcvr;Lcua;FI)I
      intermediary method_43919 Lnet/minecraft/class_6852;method_43919(Lnet/minecraft/class_2168;Lnet/minecraft/class_2960;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Lnet/minecraft/class_2415;FI)I
      named executePlaceTemplate Lnet/minecraft/server/command/PlaceCommand;executePlaceTemplate(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/BlockMirror;FI)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 Lafk;a(Laid;Lclm;Lclm;)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