跳到正文

raing_row

作者:d_d_d_

This mod automatically generates grass in surrounding chunks after rain.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

This mod automatically generates grass in surrounding chunks after rain.

  1. Configuration System (Config.java)
  • Mod toggle control
  • Generation interval configuration (in 10-tick units)
  • Horizontal search range configuration (in 16-block units)
  • Methods to retrieve actual values
  1. Environment Detection (EnvironmentChecker.java)
  • Dimension restriction: Only works in the Overworld
  • Height restriction: Y coordinate ≥ 10
  • Biome filtering:
  • Excludes cold biomes (snowy, frozen)
  • Excludes arid biomes (desert, badlands)
  • Excludes aquatic biomes (ocean, river, swamp)
  • Excludes other unsuitable biomes (mushroom island, stone, caves, etc.)
  1. Post-Rain Grass Block Mechanism (RainGrassBlock + RainGrassBlockEntity)
  • Generation timing: Generates around players during rain
  • Generation position: 3 blocks above grass blocks, requiring blocks 1-3 above to be air
  • Block characteristics:
  • Transparent with no collision box
  • Does not block light
  • Is a solid block (with BlockEntity)
  • Conversion logic:
  • Detects nearby players after rain stops
  • Applies bonemeal effect to grass blocks 3 blocks below
  • Automatically removes itself
  1. Event Handling (RainGrassBlockEventHandler)
  • Listens to player tick events
  • Randomly generates post-rain grass blocks within configured range during rain
  • Generates up to 2 blocks per tick, checking 4 random points

常见问题

raing_row 支持哪些 Minecraft 版本?

raing_row 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

raing_row 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分