-
Notifications
You must be signed in to change notification settings - Fork 0
Oxidization System
- If the block is in a biome tagged with c:is_wet, it gets +1. If the biome is tagged in c:is_dry, then it gets a point of -1. If no tag is specified, then no points are added or removed.
- If the block next to the sides or above can see the sky, the block is considered exposed and will add one point to its oxidization process.
- If the block is exposed and the world is raining, then another point is added to the exposed point, making a total of +2 points.
- If the block is next to or below a fluid block or is it's self is a fluid source, it will be considered damp and obtain +1 point.
Once the factors are checked, they will first test if the points are above 0. If above 0, then the points are used as a maximum value for a random integer, which is then used in the oxidization timer for the blocks. For example, the return value is 1~P, where P is the value for which the points are considered.
Let's say the block is exposed and the world is raining; this gives 2 points. We then find ourselves in a dry biome, which brings the point down to 1. The value of which the oxidization happens is now going to oxidize 1~1, so it will always be on a 1 to 1 ratio of oxidizing. Now, let's consider the biome is wet rather than dry. We now have 3 points, so the value will be 1~3. A random value will be between 1 and 3 each tick, which will randomize but also control the speed at which the block will oxidize.
One last example of how it would is if the block is in a biome not in a tag or is a dry biome, let's also say that no other conditions return true, this would leave the point -1, of which the value for the timer will return 0, hence preventing oxidization from happening.
| CCTVCraft 5.1.0 - Update Video - Part 3 |
- 🐞 Bug Reports
- 💡 Feature Requests
- 📚 Mod Wiki
- 🧪 Planned Features
- 📁 Releases
- ⚙️ Changelogs
- ©️ Attribution