Package net.minecraft.command.impl
Class SetBlockCommand
- java.lang.Object
-
- net.minecraft.command.impl.SetBlockCommand
-
public class SetBlockCommand extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SetBlockCommand.IFilter
static class
SetBlockCommand.Mode
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_FAILED
-
Constructor Summary
Constructors Constructor Description SetBlockCommand()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198684_0_)
private static int
setBlock(CommandSource p_198683_0_, BlockPos p_198683_1_, BlockStateInput p_198683_2_, SetBlockCommand.Mode p_198683_3_, java.util.function.Predicate<CachedBlockInfo> p_198683_4_)
-
-
-
Method Detail
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198684_0_)
-
setBlock
private static int setBlock(CommandSource p_198683_0_, BlockPos p_198683_1_, BlockStateInput p_198683_2_, SetBlockCommand.Mode p_198683_3_, @Nullable java.util.function.Predicate<CachedBlockInfo> p_198683_4_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
-