Package net.minecraft.server.commands
Class PlaceCommand
java.lang.Object
net.minecraft.server.commands.PlaceCommand
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeprivate static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static voidcheckLoaded(ServerLevel p_214544_, ChunkPos p_214545_, ChunkPos p_214546_) static intplaceFeature(CommandSourceStack p_214576_, Holder.Reference<ConfiguredFeature<?, ?>> p_248822_, BlockPos p_214578_) static intplaceJigsaw(CommandSourceStack p_214570_, Holder<StructureTemplatePool> p_214571_, ResourceLocation p_214572_, int p_214573_, BlockPos p_214574_) static intplaceStructure(CommandSourceStack p_214588_, Holder.Reference<Structure> p_251799_, BlockPos p_214590_) static intplaceTemplate(CommandSourceStack p_214562_, ResourceLocation p_214563_, BlockPos p_214564_, Rotation p_214565_, Mirror p_214566_, float p_214567_, int p_214568_) static voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214548_) 
- 
Field Details- 
ERROR_FEATURE_FAILEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_FEATURE_FAILED
- 
ERROR_JIGSAW_FAILEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_JIGSAW_FAILED
- 
ERROR_STRUCTURE_FAILEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_STRUCTURE_FAILED
- 
ERROR_TEMPLATE_INVALIDprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_TEMPLATE_INVALID
- 
ERROR_TEMPLATE_FAILEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TEMPLATE_FAILED
- 
SUGGEST_TEMPLATESprivate static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> SUGGEST_TEMPLATES
 
- 
- 
Constructor Details- 
PlaceCommandpublic PlaceCommand()
 
- 
- 
Method Details- 
register
- 
placeFeaturepublic static int placeFeature(CommandSourceStack p_214576_, Holder.Reference<ConfiguredFeature<?, ?>> p_248822_, BlockPos p_214578_) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
placeJigsawpublic 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
 
- 
placeStructurepublic static int placeStructure(CommandSourceStack p_214588_, Holder.Reference<Structure> p_251799_, BlockPos p_214590_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
placeTemplatepublic 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
 
- 
checkLoadedprivate static void checkLoaded(ServerLevel p_214544_, ChunkPos p_214545_, ChunkPos p_214546_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
 
-