Fixed "bad" class names

This commit is contained in:
Emmanuel BENOîT 2016-07-09 22:47:21 +02:00
parent 967017631c
commit 86a0a14605
5 changed files with 13 additions and 13 deletions

View file

@ -5,7 +5,7 @@ import java.util.Random;
import mmm.utils.I_URecipeRegistrar; import mmm.utils.I_URecipeRegistrar;
import mmm.utils.URegistry; 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.Block;
import net.minecraft.block.BlockLog; import net.minecraft.block.BlockLog;
import net.minecraft.block.material.MapColor; 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; this.genNormal = generator;
if ( generator != null ) { 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 ); 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.genBig = generator;
this.genBigChance = chance; 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; this.genMega = generator;
if ( generator != null ) { if ( generator != null ) {

View file

@ -2,7 +2,7 @@ package mmm.materials;
import mmm.utils.UMaths; import mmm.utils.UMaths;
import mmm.world.trees.MHeveaGenerator; import mmm.world.trees.WTHeveaGenerator;
import mmm.world.trees.WTBambooGenerator; import mmm.world.trees.WTBambooGenerator;
import net.minecraft.block.material.MapColor; import net.minecraft.block.material.MapColor;
@ -20,7 +20,7 @@ public class MTrees
HEVEA = new MTree( "hevea" ) // HEVEA = new MTree( "hevea" ) //
.setBarkColor( MapColor.GRAY ) // .setBarkColor( MapColor.GRAY ) //
.setBaseFireInfo( 5 , 8 ) // .setBaseFireInfo( 5 , 8 ) //
.setTreeGenerator( new MHeveaGenerator( true ) ) // .setTreeGenerator( new WTHeveaGenerator( true ) ) //
.register( ); .register( );
BAMBOO = new MTree( "bamboo" ) // BAMBOO = new MTree( "bamboo" ) //

View file

@ -13,7 +13,7 @@ import net.minecraft.world.gen.feature.WorldGenAbstractTree;
public abstract class A_MTreeGenerator public abstract class A_WTTreeGenerator
extends WorldGenAbstractTree extends WorldGenAbstractTree
{ {
public static class RuntimeData public static class RuntimeData
@ -135,7 +135,7 @@ public abstract class A_MTreeGenerator
private MTree wood; private MTree wood;
public A_MTreeGenerator( final boolean notify ) public A_WTTreeGenerator( final boolean notify )
{ {
super( notify ); super( notify );
} }

View file

@ -10,7 +10,7 @@ import net.minecraft.util.math.BlockPos;
public class WTBambooGenerator public class WTBambooGenerator
extends A_MTreeGenerator extends A_WTTreeGenerator
{ {
private final int minHeight; private final int minHeight;

View file

@ -9,11 +9,11 @@ import net.minecraft.util.math.BlockPos;
public class MHeveaGenerator public class WTHeveaGenerator
extends A_MTreeGenerator extends A_WTTreeGenerator
{ {
public MHeveaGenerator( final boolean notify ) public WTHeveaGenerator( final boolean notify )
{ {
super( notify ); super( notify );
} }