类的使用
net.minecraft.command.argument.BlockStateArgument
-
使用BlockStateArgument的程序包 程序包 说明 net.minecraft.command.argument net.minecraft.server.command -
-
net.minecraft.command.argument中BlockStateArgument的使用
返回BlockStateArgument的net.minecraft.command.argument中的方法 修饰符和类型 方法 说明 static BlockStateArgumentBlockStateArgumentType. getBlockState(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)BlockStateArgumentBlockStateArgumentType. parse(com.mojang.brigadier.StringReader stringReader) -
net.minecraft.server.command中BlockStateArgument的使用
声明为BlockStateArgument的net.minecraft.server.command中的字段 修饰符和类型 字段 说明 private static BlockStateArgumentFillCommand. AIR_BLOCK_ARGUMENT返回BlockStateArgument的net.minecraft.server.command中的方法 修饰符和类型 方法 说明 @Nullable BlockStateArgumentSetBlockCommand.Filter. filter(BlockBox box, BlockPos pos, BlockStateArgument block, ServerWorld world)参数类型为BlockStateArgument的net.minecraft.server.command中的方法 修饰符和类型 方法 说明 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)
-