跳到正文

Erosion

作者:Electravirus

Configurable mod that causes blocks to change into other blocks when under water and other conditions

收藏

截图

介绍

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

Certain blocks will erode when there is water above them.

When under flowing water, stone will become gravel, dirt will become sand, and undyed hardened clay will become red sand.

When under still water, sand will become clay.

Also, Cobblestone and Stone Bricks will grow moss when adjacent to water.

As of 2.2, rain will turn hardened clay soft, and the sun will bake soft clay into hardened clay.

The original purpose of this mod was to add a renewable source of sand and gravel. It has since been expanded with powerful configuration options.

Note: because of the way this mod is programmed, no erosion will occur until the erosion is triggered. Erosion will never trigger if there are no players nearby. Once erosion is triggered, it will spread to adjacent blocks.

New in 2.2: Configuration expanded with weather, light, and multiple-block requirements.

Configuration


This mod can be configured to erode any block into any other block.

To add a new erosion type to this mod, it must be added to the register list in the main section. It can be named what ever you want, but the name must match the section we’re about to create.

To create a new section, it’s best to copy and paste one of the existing sections and edit it. Change the name to match the name you added to the register list. Each section has six fields.

  • condition is what condition will trigger the block to erode. These must be defined in the erosion_conditions.cfg file.
  • fromBlock is the block we are eroding from. This must be a valid resource location.
  • fromMeta A comma-separated list of acceptable metadata values. If you prepend it with an exclamation point, it will blacklist these values instead. Set to “any” or “-1” to mean any metadata value.
  • intoBlock is the block we are eroding into. Again this must be a valid resource location.
  • intoMeta is the metadata of the block we are eroding into. Must be between 0 and 15.
  • time is how many game ticks it takes to erode the block.

Defining custom erosion conditions works exactly the same way, but with these 3 fields instead:

  • conditionBlock the block that will cause erosion. This is usually a liquid, but it can be any block.
  • conditionMeta A comma-separated list of acceptable metadata values. Uses the same syntax as the fromMeta field above.
  • checkPositions A list of relative positions that will be checked for the condition block. If the condition block is found in any of these positions, then erosion will occur.

Version 2.2 adds some new configuration options.

First of all, erosion conditions can now depend on the weather and light.

requireLight takes an operator() and a number. For example, >12 means require a light level greater than 12. It can also be set to just a number to require exactly that light level.

requireWeather can be set to any, clear, rain, snow, or thunder. Any weather other than “any” will require sky access. If set to thunder, then a lightning bolt will be summoned when the erosion occurs.

Finally, you can now require that a certain number of positions match the conditions using the checksRequired option (previously only one of the locations needed to match).

In the position list, a fourth argument can now be used to require a different type of block. A fifth argument can be used to specify the meta of the required block.

常见问题

Erosion 支持哪些 Minecraft 版本?

Erosion 支持 Minecraft Java 版 1.10.2–1.12,共 3 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Erosion 怎么安装?

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

评论

登录后评论和评分

Electravirus 的其他作品

查看全部 →