From 86a0a14605f6857f68ff3dfb540fa4eac4e67656 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Sat, 9 Jul 2016 22:47:21 +0200 Subject: [PATCH] Fixed "bad" class names --- src/java/mmm/materials/MTree.java | 10 +++++----- src/java/mmm/materials/MTrees.java | 4 ++-- .../{A_MTreeGenerator.java => A_WTTreeGenerator.java} | 4 ++-- src/java/mmm/world/trees/WTBambooGenerator.java | 2 +- .../{MHeveaGenerator.java => WTHeveaGenerator.java} | 6 +++--- 5 files changed, 13 insertions(+), 13 deletions(-) rename src/java/mmm/world/trees/{A_MTreeGenerator.java => A_WTTreeGenerator.java} (98%) rename src/java/mmm/world/trees/{MHeveaGenerator.java => WTHeveaGenerator.java} (95%) diff --git a/src/java/mmm/materials/MTree.java b/src/java/mmm/materials/MTree.java index f00e1a0..52332d5 100644 --- a/src/java/mmm/materials/MTree.java +++ b/src/java/mmm/materials/MTree.java @@ -5,7 +5,7 @@ import java.util.Random; import mmm.utils.I_URecipeRegistrar; import mmm.utils.URegistry; -import mmm.world.trees.A_MTreeGenerator; +import mmm.world.trees.A_WTTreeGenerator; import net.minecraft.block.Block; import net.minecraft.block.BlockLog; import net.minecraft.block.material.MapColor; @@ -168,7 +168,7 @@ public class MTree } - public MTree setTreeGenerator( final A_MTreeGenerator generator ) + public MTree setTreeGenerator( final A_WTTreeGenerator generator ) { this.genNormal = generator; if ( generator != null ) { @@ -178,13 +178,13 @@ public class MTree } - public MTree setBigTreeGenerator( final A_MTreeGenerator generator ) + public MTree setBigTreeGenerator( final A_WTTreeGenerator generator ) { return this.setBigTreeGenerator( generator , .1f ); } - public MTree setBigTreeGenerator( final A_MTreeGenerator generator , final float chance ) + public MTree setBigTreeGenerator( final A_WTTreeGenerator generator , final float chance ) { this.genBig = generator; this.genBigChance = chance; @@ -195,7 +195,7 @@ public class MTree } - public MTree setMegaTreeGenerator( final A_MTreeGenerator generator ) + public MTree setMegaTreeGenerator( final A_WTTreeGenerator generator ) { this.genMega = generator; if ( generator != null ) { diff --git a/src/java/mmm/materials/MTrees.java b/src/java/mmm/materials/MTrees.java index e49f11e..67cc12c 100644 --- a/src/java/mmm/materials/MTrees.java +++ b/src/java/mmm/materials/MTrees.java @@ -2,7 +2,7 @@ package mmm.materials; import mmm.utils.UMaths; -import mmm.world.trees.MHeveaGenerator; +import mmm.world.trees.WTHeveaGenerator; import mmm.world.trees.WTBambooGenerator; import net.minecraft.block.material.MapColor; @@ -20,7 +20,7 @@ public class MTrees HEVEA = new MTree( "hevea" ) // .setBarkColor( MapColor.GRAY ) // .setBaseFireInfo( 5 , 8 ) // - .setTreeGenerator( new MHeveaGenerator( true ) ) // + .setTreeGenerator( new WTHeveaGenerator( true ) ) // .register( ); BAMBOO = new MTree( "bamboo" ) // diff --git a/src/java/mmm/world/trees/A_MTreeGenerator.java b/src/java/mmm/world/trees/A_WTTreeGenerator.java similarity index 98% rename from src/java/mmm/world/trees/A_MTreeGenerator.java rename to src/java/mmm/world/trees/A_WTTreeGenerator.java index c5f4fc5..3d23458 100644 --- a/src/java/mmm/world/trees/A_MTreeGenerator.java +++ b/src/java/mmm/world/trees/A_WTTreeGenerator.java @@ -13,7 +13,7 @@ import net.minecraft.world.gen.feature.WorldGenAbstractTree; -public abstract class A_MTreeGenerator +public abstract class A_WTTreeGenerator extends WorldGenAbstractTree { public static class RuntimeData @@ -135,7 +135,7 @@ public abstract class A_MTreeGenerator private MTree wood; - public A_MTreeGenerator( final boolean notify ) + public A_WTTreeGenerator( final boolean notify ) { super( notify ); } diff --git a/src/java/mmm/world/trees/WTBambooGenerator.java b/src/java/mmm/world/trees/WTBambooGenerator.java index 981c4ae..05692e0 100644 --- a/src/java/mmm/world/trees/WTBambooGenerator.java +++ b/src/java/mmm/world/trees/WTBambooGenerator.java @@ -10,7 +10,7 @@ import net.minecraft.util.math.BlockPos; public class WTBambooGenerator - extends A_MTreeGenerator + extends A_WTTreeGenerator { private final int minHeight; diff --git a/src/java/mmm/world/trees/MHeveaGenerator.java b/src/java/mmm/world/trees/WTHeveaGenerator.java similarity index 95% rename from src/java/mmm/world/trees/MHeveaGenerator.java rename to src/java/mmm/world/trees/WTHeveaGenerator.java index 0d90fbe..048da7a 100644 --- a/src/java/mmm/world/trees/MHeveaGenerator.java +++ b/src/java/mmm/world/trees/WTHeveaGenerator.java @@ -9,11 +9,11 @@ import net.minecraft.util.math.BlockPos; -public class MHeveaGenerator - extends A_MTreeGenerator +public class WTHeveaGenerator + extends A_WTTreeGenerator { - public MHeveaGenerator( final boolean notify ) + public WTHeveaGenerator( final boolean notify ) { super( notify ); }