生物群系与区块指令
基本信息
| 属性 | 值 |
|---|---|
| 来源类 | BiomeCommands(3 条)、ChunkCommands(3 条) |
| 文件 | command/BiomeCommands.java(206 行)、command/ChunkCommands.java(181 行) |
| 注册位置 | CommandManager.java:138、:139 |
| 命令数 | 6 |
生物群系指令(BiomeCommands)
| 指令 | 别名 | 说明 | 权限节点 |
|---|---|---|---|
/biomelist |
biomels |
Gets all biomes available. | worldedit.biome.list |
/biomeinfo |
— | Get the biome of the targeted block. | worldedit.biome.info |
//setbiome |
— | Sets the biome of the player’s current block or region. | worldedit.biome.set |
biomelist与biomeinfo主别名不含前导斜杠 → 实际输入/biomelist、/biomeinfo;setbiome主别名为/setbiome→ 实际输入//setbiome。
区块指令(ChunkCommands)
| 指令 | 说明 | 权限节点 |
|---|---|---|
/chunkinfo |
Get information about the chunk that you are inside | worldedit.chunkinfo |
/listchunks |
List chunks that your selection includes | worldedit.listchunks |
/delchunks |
Delete chunks that your selection includes | worldedit.delchunks |
功能
/biomelist列出全部已注册生物群系,来源为ForgeBiomeRegistry(forge/ForgeBiomeRegistry.java),在服务端启动时由ForgeWorldEdit.serverAboutToStart调用ForgeBiomeRegistry.populate()填充(ForgeWorldEdit.java:160)/biomeinfo读玩家准星所指方块所在群系//setbiome设置玩家所在方块或当前选区的群系/delchunks批量删除选区覆盖的区块,不可撤销(不产生可回滚的方块历史)/listchunks列出选区覆盖的区块清单,用于先确认再删
数值
无独立配置项。/chunkinfo 输出含坐标、群系 id、光照值等,来自 1.7.10 net.minecraft.world.chunk.Chunk 的原版字段。