生物群系与区块指令

基本信息

属性 值
来源类 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 的原版字段。

相关条目