Renaming things

This commit is contained in:
Adubbz 2014-01-01 23:02:05 +11:00
parent e85babc0b5
commit 0976e23711
8 changed files with 17 additions and 17 deletions

View File

@ -6,7 +6,7 @@ import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import biomesoplenty.common.eventhandler.world.DecorateBiomeEventHandler;
import biomesoplenty.common.world.decoration.IBOPDecoration;
import biomesoplenty.common.world.generators.WorldGenBOPFlowers;
import biomesoplenty.common.world.features.WorldGenBOPFlora;
public abstract class BOPBiome extends BiomeGenBase implements IBOPDecoration
{
@ -28,7 +28,7 @@ public abstract class BOPBiome extends BiomeGenBase implements IBOPDecoration
}
@Override
public WorldGenBOPFlowers getRandomWorldGenForBOPFlowers(Random random)
public WorldGenBOPFlora getRandomWorldGenForBOPFlowers(Random random)
{
return null;
}

View File

@ -10,8 +10,8 @@ import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.BOPBlockHelper;
import biomesoplenty.common.entities.EntityJungleSpider;
import biomesoplenty.common.world.generators.WorldGenBOPFlowers;
import biomesoplenty.common.world.generators.trees.WorldGenSacredOak;
import biomesoplenty.common.world.features.WorldGenBOPFlora;
import biomesoplenty.common.world.features.trees.WorldGenSacredOak;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@ -46,9 +46,9 @@ public class BiomeGenSacredSprings extends BOPBiome
}
@Override
public WorldGenBOPFlowers getRandomWorldGenForBOPFlowers(Random random)
public WorldGenBOPFlora getRandomWorldGenForBOPFlowers(Random random)
{
return random.nextInt(3) == 0 ? new WorldGenBOPFlowers(BOPBlockHelper.get("flowers"), 6) : new WorldGenBOPFlowers(Blocks.red_flower, 1);
return random.nextInt(3) == 0 ? new WorldGenBOPFlora(BOPBlockHelper.get("flowers"), 6) : new WorldGenBOPFlora(Blocks.red_flower, 1);
}
@Override

View File

@ -4,7 +4,7 @@ import java.util.HashMap;
import java.util.Set;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.common.world.generators.WorldGenMud;
import biomesoplenty.common.world.features.WorldGenMud;
public class WorldGenFieldAssociation
{

View File

@ -2,11 +2,11 @@ package biomesoplenty.common.world.decoration;
import java.util.Random;
import biomesoplenty.common.world.generators.WorldGenBOPFlowers;
import biomesoplenty.common.world.features.WorldGenBOPFlora;
public interface IBOPDecoration
{
public WorldGenBOPFlowers getRandomWorldGenForBOPFlowers(Random random);
public WorldGenBOPFlora getRandomWorldGenForBOPFlowers(Random random);
public int getWorldGenPerChunk(String fieldName);
}

View File

@ -1,4 +1,4 @@
package biomesoplenty.common.world.generators;
package biomesoplenty.common.world.features;
import java.util.Random;
@ -7,19 +7,19 @@ import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import net.minecraft.world.gen.feature.WorldGenerator;
public class WorldGenBOPFlowers extends WorldGenerator
public class WorldGenBOPFlora extends WorldGenerator
{
private Block flower;
private int flowerMeta;
private int groupCount = 64;
public WorldGenBOPFlowers(Block flower, int flowerMeta)
public WorldGenBOPFlora(Block flower, int flowerMeta)
{
this.flower = flower;
this.flowerMeta = flowerMeta;
}
public WorldGenBOPFlowers(Block flower, int flowerMeta, int groupCount)
public WorldGenBOPFlora(Block flower, int flowerMeta, int groupCount)
{
this.flower = flower;
this.flowerMeta = flowerMeta;

View File

@ -1,4 +1,4 @@
package biomesoplenty.common.world.generators;
package biomesoplenty.common.world.features;
import java.util.Random;

View File

@ -1,4 +1,4 @@
package biomesoplenty.common.world.generators.trees;
package biomesoplenty.common.world.features.trees;
import java.util.Random;

View File

@ -3,7 +3,7 @@ package biomesoplenty.common.world.forceddecorators;
import java.util.Random;
import biomesoplenty.common.world.decoration.IBOPDecoration;
import biomesoplenty.common.world.generators.WorldGenBOPFlowers;
import biomesoplenty.common.world.features.WorldGenBOPFlora;
public class SwampForcedDecorator implements IBOPDecoration
{
@ -16,7 +16,7 @@ public class SwampForcedDecorator implements IBOPDecoration
}
@Override
public WorldGenBOPFlowers getRandomWorldGenForBOPFlowers(Random random)
public WorldGenBOPFlora getRandomWorldGenForBOPFlowers(Random random)
{
return null;
}