public class SetBlockCommand
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
SetBlockCommand.IFilter |
static class |
SetBlockCommand.Mode |
Modifier and Type | Field and Description |
---|---|
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
FAILED_EXCEPTION |
Constructor and Description |
---|
SetBlockCommand() |
Modifier and Type | Method and Description |
---|---|
static void |
register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher) |
private static int |
setBlock(CommandSource source,
BlockPos pos,
BlockStateInput state,
SetBlockCommand.Mode mode,
java.util.function.Predicate<CachedBlockInfo> predicate) |
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher)
private static int setBlock(CommandSource source, BlockPos pos, BlockStateInput state, SetBlockCommand.Mode mode, @Nullable java.util.function.Predicate<CachedBlockInfo> predicate) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException