From 2feef8a22b1b9cbed71ede7cbc2543fb68607dee Mon Sep 17 00:00:00 2001 From: Richard-Rogalski Date: Thu, 27 Jun 2024 18:29:35 -0500 Subject: [PATCH] =?UTF-8?q?No=20longer=20allow=20generic=20modded=20plants?= =?UTF-8?q?=20from=20generating=20in=20Aether=20=F0=9F=AA=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mods like Natura, Thaumcraft, et al were generating their plants in the Aether, so commented out the toggle that allowed this. Code from Departure, I'm just the git gremlin Signed-off-by: Richard Rogalski Co-authored-by: Wojak <102751411+AetherLegacyPro@users.noreply.github.com> --- .../the_aether/blocks/natural/BlockAetherGrass.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/gildedgames/the_aether/blocks/natural/BlockAetherGrass.java b/src/main/java/com/gildedgames/the_aether/blocks/natural/BlockAetherGrass.java index b877dc39..94bc7c19 100644 --- a/src/main/java/com/gildedgames/the_aether/blocks/natural/BlockAetherGrass.java +++ b/src/main/java/com/gildedgames/the_aether/blocks/natural/BlockAetherGrass.java @@ -105,12 +105,13 @@ else if (side == 0) } } - @Override + //This allows for other mods like Thaumcraft and Natura to generate their flora in the Aether as well, removing this fixes the problem + /*@Override public boolean canSustainPlant(IBlockAccess world, int x, int y, int z, ForgeDirection direction, IPlantable plantable) { EnumPlantType plantType = plantable.getPlantType(world, x, y + 1, z); return plantType == EnumPlantType.Plains; - } + }*/ @Override public boolean func_149851_a(World p_149851_1_, int p_149851_2_, int p_149851_3_, int p_149851_4_, boolean p_149851_5_) { @@ -162,4 +163,4 @@ public void func_149853_b(World p_149853_1_, Random p_149853_2_, int p_149853_3_ } } -} \ No newline at end of file +}