Uses of Class
net.minecraft.command.argument.BlockStateArgument
| Package | Description |
|---|---|
| net.minecraft.command.argument | |
| net.minecraft.server.command |
-
Uses of BlockStateArgument in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return BlockStateArgument Modifier and Type Method Description static BlockStateArgumentBlockStateArgumentType. getBlockState(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)BlockStateArgumentBlockStateArgumentType. parse(com.mojang.brigadier.StringReader stringReader) -
Uses of BlockStateArgument in net.minecraft.server.command
Fields in net.minecraft.server.command declared as BlockStateArgument Modifier and Type Field Description private static BlockStateArgumentFillCommand. AIR_BLOCK_ARGUMENTMethods in net.minecraft.server.command that return BlockStateArgument Modifier and Type Method Description @Nullable BlockStateArgumentSetBlockCommand.Filter. filter(BlockBox box, BlockPos pos, BlockStateArgument block, ServerWorld world)Methods in net.minecraft.server.command with parameters of type BlockStateArgument Modifier and Type Method Description private static intFillCommand. execute(ServerCommandSource source, BlockBox range, BlockStateArgument block, FillCommand.Mode mode, @Nullable Predicate<CachedBlockPosition> filter)private static intSetBlockCommand. execute(ServerCommandSource source, BlockPos pos, BlockStateArgument block, SetBlockCommand.Mode mode, @Nullable Predicate<CachedBlockPosition> condition)@Nullable BlockStateArgumentSetBlockCommand.Filter. filter(BlockBox box, BlockPos pos, BlockStateArgument block, ServerWorld world)