Package net.minecraft.server.commands
Class PlaceFeatureCommand
java.lang.Object
net.minecraft.server.commands.PlaceFeatureCommand
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
placeFeature
(CommandSourceStack p_212219_, Holder<ConfiguredFeature<?, ?>> p_212220_, BlockPos p_212221_) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_201836_)
-
Field Details
-
ERROR_FAILED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_FAILED
-
-
Constructor Details
-
PlaceFeatureCommand
public PlaceFeatureCommand()
-
-
Method Details
-
register
-
placeFeature
public static int placeFeature(CommandSourceStack p_212219_, Holder<ConfiguredFeature<?, ?>> p_212220_, BlockPos p_212221_) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-