From 3cbf575b87611990473e257b1fadb42bd54bb3bd Mon Sep 17 00:00:00 2001 From: paulevsGitch Date: Thu, 10 Dec 2020 13:21:56 +0300 Subject: [PATCH] Lanceleaf feature rebalance & missing textures --- .../java/ru/betterend/registry/EndFeatures.java | 2 +- .../world/features/LanceleafFeature.java | 7 ++++++- .../betterend/textures/block/lanceleaf_stem.png | Bin 195 -> 262 bytes 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main/java/ru/betterend/registry/EndFeatures.java b/src/main/java/ru/betterend/registry/EndFeatures.java index deb59dc8..6118291a 100644 --- a/src/main/java/ru/betterend/registry/EndFeatures.java +++ b/src/main/java/ru/betterend/registry/EndFeatures.java @@ -71,7 +71,7 @@ public class EndFeatures { public static final EndFeature BUSHY_GRASS = new EndFeature("bushy_grass", new SinglePlantFeature(EndBlocks.BUSHY_GRASS, 8, false), 20); public static final EndFeature BUSHY_GRASS_WG = new EndFeature("bushy_grass_wg", new SinglePlantFeature(EndBlocks.BUSHY_GRASS, 5), 10); public static final EndFeature AMBER_GRASS = new EndFeature("amber_grass", new SinglePlantFeature(EndBlocks.AMBER_GRASS, 6), 9); - public static final EndFeature LANCELEAF = new EndFeature("lanceleaf", new LanceleafFeature(), 1); + public static final EndFeature LANCELEAF = new EndFeature("lanceleaf", new LanceleafFeature(), 3); // Vines // public static final EndFeature DENSE_VINE = new EndFeature("dense_vine", new VineFeature(EndBlocks.DENSE_VINE, 24), 3); diff --git a/src/main/java/ru/betterend/world/features/LanceleafFeature.java b/src/main/java/ru/betterend/world/features/LanceleafFeature.java index 5a2ab860..0fdb99a6 100644 --- a/src/main/java/ru/betterend/world/features/LanceleafFeature.java +++ b/src/main/java/ru/betterend/world/features/LanceleafFeature.java @@ -9,7 +9,7 @@ import ru.betterend.registry.EndBlocks; public class LanceleafFeature extends ScatterFeature { public LanceleafFeature() { - super(5); + super(7); } @Override @@ -22,4 +22,9 @@ public class LanceleafFeature extends ScatterFeature { BlockPlantWithAge seed = ((BlockPlantWithAge) EndBlocks.LANCELEAF_SEED); seed.growAdult(world, random, blockPos); } + + @Override + protected int getChance() { + return 5; + } } diff --git a/src/main/resources/assets/betterend/textures/block/lanceleaf_stem.png b/src/main/resources/assets/betterend/textures/block/lanceleaf_stem.png index d32fdb95de455957f8d0f57cd4cea0de88982386..c37af60cc27406e787ba2b5178f5cff828e83bf3 100644 GIT binary patch delta 234 zcmVpFn@L1LR5(v#`2YVuPMjPa_P;169mvEk55i0g6au^k@Cynue0={N z%EJx_y5Q@#Z%`I?fYX4KnDGBlCSHKk0GRWauiMNB6~YQ=A7hAw08Rr4g+2`6GyoR* zgaQ+%0kFU$jJW40c5+Bv^1Cv@&<^F>>^}c52B!7xYL_t(|+GF_t|33pdo)s$tri*gY|0hR>{l}&Th8YMM5E1A@ zya6DMFiepFmm4%F^8yTmG=mHw+W?APKynz+!~j@005NF>AZrG>0*J{s07T<5gkThc zXp#+pIUCt_C{5S^WZPf{0mT@Q0~5r@Y5=m$AcaU?z!@XhY#@i(hHfj^AeaR(Jpk=f VoT5zKu{8hy002ovPDHLkV1oS?KD__{