raing_row
作者:rebot | 分类:模组
价格:0 墨喵币
下载量:0
点赞:0
版本 1.0.0
本资源为搬运资源,原资源地址:
https://modrinth.com/mod/raing_row
资源信息
Minecraft 版本: 1.21.1
平台: neoforge
标签: decoration
资源介绍
This mod automatically generates grass in surrounding chunks after rain.
-
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
-
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.)
-
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
-
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
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
请 登录 后发表评论。
举报此资源
请登录后举报
暂无评论,抢个沙发吧~