Class PlaceCommand

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

public class PlaceCommand extends Object
  • Field Details

    • ERROR_FEATURE_FAILED

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_FEATURE_FAILED
    • ERROR_JIGSAW_FAILED

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_JIGSAW_FAILED
    • ERROR_STRUCTURE_FAILED

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_STRUCTURE_FAILED
    • ERROR_TEMPLATE_INVALID

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_TEMPLATE_INVALID
    • ERROR_TEMPLATE_FAILED

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEMPLATE_FAILED
    • SUGGEST_TEMPLATES

      private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> SUGGEST_TEMPLATES
  • Constructor Details

    • PlaceCommand

      public PlaceCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214548_)
    • placeFeature

      public static int placeFeature(CommandSourceStack p_214576_, Holder<ConfiguredFeature<?,?>> p_214577_, BlockPos p_214578_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • placeJigsaw

      public static int placeJigsaw(CommandSourceStack p_214570_, Holder<StructureTemplatePool> p_214571_, ResourceLocation p_214572_, int p_214573_, BlockPos p_214574_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • placeStructure

      public static int placeStructure(CommandSourceStack p_214588_, Holder<Structure> p_214589_, BlockPos p_214590_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • placeTemplate

      public static int placeTemplate(CommandSourceStack p_214562_, ResourceLocation p_214563_, BlockPos p_214564_, Rotation p_214565_, Mirror p_214566_, float p_214567_, int p_214568_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • checkLoaded

      private static void checkLoaded(ServerLevel p_214544_, ChunkPos p_214545_, ChunkPos p_214546_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException