Jelajahi Sumber

Add support for Mossy Block and Azalea Leaves

nossr50 4 tahun lalu
induk
melakukan
b569b9456e

+ 5 - 0
Changelog.txt

@@ -8,7 +8,10 @@ Version 2.1.197
     Added Axolotl to experience.yml for combat and taming
     Added Glow_Squid to experience.yml for combat and taming
     Updated Super Breaker to recognize the new pick-axe appropriate blocks
+    Updated Tree Feller to recognize Azalea Leaves
 
+    Added Rooted Dirt to experience.yml for Excavation
+    Added Moss Block to experience.yml for Herbalism
     Added Calcite to experience.yml for Mining
     Added Smooth Basalt to experience.yml for Mining
     Added Block_Of_Amethyst to experience.yml for Mining
@@ -30,6 +33,7 @@ Version 2.1.197
     Added Deepslate Lapis Lazuli Ore to experience.yml for Mining
     Added Lapis Lazuli Ore to experience.yml for Mining (was missing)
 
+    Added Moss Block to Bonus Drops for Herbalism in config.yml
     Added Amethyst Shard to Bonus Drops for Mining in config.yml
     Added Calcite to Bonus Drops for Mining in config.yml
     Added Smooth Basalt to Bonus Drops for Mining in config.yml
@@ -71,6 +75,7 @@ Version 2.1.197
     Added Lapis Lazuli Ore to experience.yml for Smelting (was missing)
 
     NOTES:
+    Another patch will follow this one shortly to add more 1.17 support, I am waiting on the Spigot API to test some stuff which isn't out yet.
     You shouldn't need to edit your configs for this update, your configs should update automatically.
     Expect some patches following this update for Axolotl and other new entities, waiting on the Spigot API to become available
     If you run into any issues with ViaVersion or ViaBackwards, use the latest dev builds for each.

+ 1 - 0
src/main/java/com/gmail/nossr50/util/MaterialMapStore.java

@@ -1006,6 +1006,7 @@ public class MaterialMapStore {
         treeFellerDestructibleWhiteList.add("dark_oak_leaves");
         treeFellerDestructibleWhiteList.add("jungle_leaves");
         treeFellerDestructibleWhiteList.add("spruce_leaves");
+        treeFellerDestructibleWhiteList.add("azalea_leaves");
         treeFellerDestructibleWhiteList.add("nether_wart_block");
         treeFellerDestructibleWhiteList.add("warped_wart_block");
         treeFellerDestructibleWhiteList.add("brown_mushroom_block");

+ 1 - 0
src/main/resources/config.yml

@@ -463,6 +463,7 @@ Green_Thumb_Replanting_Crops:
 ###
 Bonus_Drops:
     Herbalism:
+        Moss_Block: true
         Sweet_Berry_Bush: true
         Weeping_Vines: true
         Twisting_Vines: true

+ 2 - 0
src/main/resources/experience.yml

@@ -245,6 +245,7 @@ Experience_Values:
     Excavation:
         Clay: 40
         Dirt: 40
+        Rooted_Dirt: 60
         Coarse_Dirt: 40
         Podzol: 40
         Grass_Block: 40
@@ -294,6 +295,7 @@ Experience_Values:
         Brown_Mushroom_Block: 70
         Mushroom_Stem: 80
     Herbalism:
+        Moss_Block: 150
         Crimson_Roots: 6
         Warped_Roots: 6
         Nether_Wart_Block: 3