Skip to content
Success

Changes

Summary

  1. New tag/mech pair `foliage_color` (#2458) (commit: f223574) (details)
Commit f2235745b0a16ae58b95a5e346e81df9d78bcdba by noreply
New tag/mech pair `foliage_color` (#2458)

* Add new tag/mech pair `foliage_color`

Tested on 1.17.1, 1.18.2, and 1.19.4

* Change wording of comment.

* Different way of setting and getting foliage color

Now, the foliage color is directly set instead of using a builder class.

Also, the foliage color is now approximated for all biomes without an already set foliage color.

* Meta and code cleanup
(commit: f223574)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/nms/abstracts/BiomeNMS.java
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java
The file was modifiedv1_18/src/main/java/com/denizenscript/denizen/nms/v1_18/impl/BiomeNMSImpl.java
The file was modifiedv1_19/src/main/java/com/denizenscript/denizen/nms/v1_19/impl/BiomeNMSImpl.java
The file was modifiedv1_17/src/main/java/com/denizenscript/denizen/nms/v1_17/ReflectionMappingsInfo.java
The file was modifiedv1_17/src/main/java/com/denizenscript/denizen/nms/v1_17/impl/BiomeNMSImpl.java
The file was modifiedv1_19/src/main/java/com/denizenscript/denizen/nms/v1_19/ReflectionMappingsInfo.java
The file was modifiedv1_18/src/main/java/com/denizenscript/denizen/nms/v1_18/ReflectionMappingsInfo.java