Started toying with creatives tabs, the food item and the mud block

This commit is contained in:
Adubbz 2013-12-23 22:21:39 +11:00
parent f813c4a149
commit b440cb7359
295 changed files with 3305 additions and 3754 deletions

View file

@ -1,13 +1,10 @@
package biomesoplenty;
import net.minecraft.crash.CallableMinecraftVersion;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraftforge.common.DimensionManager;
import net.minecraftforge.common.ForgeVersion;
import net.minecraftforge.common.MinecraftForge;
import biomesoplenty.configuration.BOPConfiguration;
import biomesoplenty.configuration.BOPConfigurationIDs;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.core.BOPAchievements;
import biomesoplenty.core.BOPBiomes;
import biomesoplenty.core.BOPBlocks;
@ -25,12 +22,7 @@ import biomesoplenty.eventhandlers.EntityEventHandler;
import biomesoplenty.eventhandlers.FlipperMovementEventHandler;
import biomesoplenty.eventhandlers.FluidEventHandler;
import biomesoplenty.eventhandlers.VillageMaterialEventHandler;
import biomesoplenty.handlers.BOPCraftHandler;
import biomesoplenty.handlers.BOPPickupHandler;
import biomesoplenty.handlers.MovementHandler;
import biomesoplenty.handlers.SoundHandler;
import biomesoplenty.handlers.TickHandlerClient;
import biomesoplenty.handlers.TickHandlerServer;
import biomesoplenty.helpers.CreativeTabsBOP;
import biomesoplenty.helpers.Version;
import biomesoplenty.integration.BOPCrossIntegration;
@ -44,13 +36,9 @@ import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.TickRegistry;
import cpw.mods.fml.relauncher.Side;
@Mod(modid="BiomesOPlenty", name="Biomes O' Plenty", dependencies="after:Natura; required-after:Forge@[1.42.666.42.1,)")
@NetworkMod(clientSideRequired=true, serverSideRequired=false)
public class BiomesOPlenty
{
@Instance("BiomesOPlenty")
@ -68,25 +56,25 @@ public class BiomesOPlenty
configPath = event.getModConfigurationDirectory() + "/biomesoplenty/";
BOPConfiguration.init(configPath);
Version.check();
//Version.check();
tabBiomesOPlenty = new CreativeTabsBOP(CreativeTabs.getNextID(),"tabBiomesOPlenty");
BOPPotions.init();
/*BOPPotions.init();*/
BOPBlocks.init();
BOPItems.init();
BOPFluids.init();
/*BOPFluids.init();
BOPCrafting.init();
BOPStructures.init();
BOPBiomes.init();
BOPEntities.init();
BOPVanillaCompat.init();
BOPVanillaCompat.init();*/
GameRegistry.registerCraftingHandler(new BOPCraftHandler());
GameRegistry.registerPickupHandler(new BOPPickupHandler());
//GameRegistry.registerCraftingHandler(new BOPCraftHandler());
//GameRegistry.registerPickupHandler(new BOPPickupHandler());
// Achievement declaration
if (BOPConfigurationMisc.achievements)
/*if (BOPConfigurationMisc.achievements)
{
BOPAchievements.init();
}
@ -96,14 +84,14 @@ public class BiomesOPlenty
MinecraftForge.EVENT_BUS.register(new SoundHandler());
}
BOPCrossIntegration.preInit();
BOPCrossIntegration.preInit();*/
}
@EventHandler
public void load(FMLInitializationEvent event)
{
// Add helpers for compatibility
MinecraftForge.TERRAIN_GEN_BUS.register(new WorldTypeSize());
/*MinecraftForge.TERRAIN_GEN_BUS.register(new WorldTypeSize());
MinecraftForge.TERRAIN_GEN_BUS.register(new VillageMaterialEventHandler());
MinecraftForge.EVENT_BUS.register(new BOPAchievements());
MinecraftForge.EVENT_BUS.register(new BonemealEventHandler());
@ -127,18 +115,18 @@ public class BiomesOPlenty
DimensionManager.registerProviderType(BOPConfigurationIDs.promisedLandDimID, WorldProviderPromised.class, false);
DimensionManager.registerDimension(BOPConfigurationIDs.promisedLandDimID, BOPConfigurationIDs.promisedLandDimID);
BOPCrossIntegration.init();
BOPCrossIntegration.init();*/
}
@EventHandler
public void postInit(FMLPostInitializationEvent event)
{
BOPCrossIntegration.postInit();
//BOPCrossIntegration.postInit();
//Initialize new world type
BOPBiomes.WTBiomesOP = new WorldTypeBOP();
//BOPBiomes.WTBiomesOP = new WorldTypeBOP();
TickRegistry.registerTickHandler(new TickHandlerClient(), Side.CLIENT);
TickRegistry.registerTickHandler(new TickHandlerServer(), Side.SERVER);
//TickRegistry.registerTickHandler(new TickHandlerClient(), Side.CLIENT);
//TickRegistry.registerTickHandler(new TickHandlerServer(), Side.SERVER);
}
}

View file

@ -9,7 +9,7 @@ import net.minecraft.client.particle.EntityBreakingFX;
import net.minecraft.client.particle.EntityFX;
import net.minecraft.client.renderer.entity.RenderSnowball;
import net.minecraft.util.MathHelper;
import biomesoplenty.api.Items;
import biomesoplenty.api.BOPItems;
import biomesoplenty.blocks.renderers.BambooRenderer;
import biomesoplenty.blocks.renderers.FoliageRenderer;
import biomesoplenty.blocks.renderers.GraveRenderer;
@ -43,7 +43,7 @@ import cpw.mods.fml.client.registry.RenderingRegistry;
public class ClientProxy extends CommonProxy {
public static Minecraft mc = Minecraft.getMinecraft();
/*public static Minecraft mc = Minecraft.getMinecraft();
public static int puddleRenderPass;
@Override
@ -152,5 +152,5 @@ public class ClientProxy extends CommonProxy {
public int addArmor(String armor)
{
return RenderingRegistry.addNewArmourRendererPrefix(armor);
}
}*/
}

View file

@ -4,11 +4,11 @@ import java.util.HashMap;
import java.util.Map;
import net.minecraft.block.Block;
import net.minecraft.block.BlockHalfSlab;
import net.minecraft.block.BlockSlab;
import com.google.common.base.Optional;
public class Blocks
public class BOPBlocks
{
// Worldgen Blocks
public static Optional<? extends Block> ash = Optional.absent();
@ -56,12 +56,12 @@ public class Blocks
public static Optional<? extends Block> jacarandaStairs = Optional.absent();
// Slabs
public static Optional<? extends BlockHalfSlab> woodenSingleSlab1 = Optional.absent();
public static Optional<? extends BlockHalfSlab> woodenDoubleSlab1 = Optional.absent();
public static Optional<? extends BlockHalfSlab> woodenSingleSlab2 = Optional.absent();
public static Optional<? extends BlockHalfSlab> woodenDoubleSlab2 = Optional.absent();
public static Optional<? extends BlockHalfSlab> stoneSingleSlab = Optional.absent();
public static Optional<? extends BlockHalfSlab> stoneDoubleSlab = Optional.absent();
public static Optional<? extends BlockSlab> woodenSingleSlab1 = Optional.absent();
public static Optional<? extends BlockSlab> woodenDoubleSlab1 = Optional.absent();
public static Optional<? extends BlockSlab> woodenSingleSlab2 = Optional.absent();
public static Optional<? extends BlockSlab> woodenDoubleSlab2 = Optional.absent();
public static Optional<? extends BlockSlab> stoneSingleSlab = Optional.absent();
public static Optional<? extends BlockSlab> stoneDoubleSlab = Optional.absent();
// Plants
public static Optional<? extends Block> flowers = Optional.absent();

View file

@ -4,7 +4,9 @@ import net.minecraft.item.Item;
import com.google.common.base.Optional;
public class Items
import cpw.mods.fml.common.registry.GameRegistry;
public class BOPItems
{
public static Optional<? extends Item> bopDisc = Optional.absent();
public static Optional<? extends Item> bopDiscMud = Optional.absent();
@ -53,4 +55,9 @@ public class Items
public static Optional<? extends Item> flowerBand = Optional.absent();
public static Optional<? extends Item> wadingBoots = Optional.absent();
public static Optional<? extends Item> flippers = Optional.absent();
public static Item get(String name)
{
return GameRegistry.findItem("BiomesOPlenty", name);
}
}

View file

@ -1,260 +0,0 @@
package biomesoplenty.api;
import net.minecraft.block.Block;
import net.minecraft.item.ItemStack;
import com.google.common.base.Optional;
public class BlockReferences {
public static enum EnumBlocks
{
acaciaLog (Blocks.logs1, 0),
cherryLog (Blocks.logs1, 1),
darkLog (Blocks.logs1, 2),
firLog (Blocks.logs1, 3),
holyLog (Blocks.logs2, 0),
magicLog (Blocks.logs2, 1),
mangroveLog (Blocks.logs2, 2),
palmLog (Blocks.logs2, 3),
redwoodLog (Blocks.logs3, 0),
willowLog (Blocks.logs3, 1),
deadLog (Blocks.logs3, 2),
bigFlowerStem (Blocks.logs3, 3),
pineLog (Blocks.logs4, 0),
hellBarkLog (Blocks.logs4, 1),
jacarandaLog (Blocks.logs4, 2),
acaciaPlank (Blocks.planks, 0),
cherryPlank (Blocks.planks, 1),
darkPlank (Blocks.planks, 2),
firPlank (Blocks.planks, 3),
holyPlank (Blocks.planks, 4),
magicPlank (Blocks.planks, 5),
mangrovePlank (Blocks.planks, 6),
palmPlank (Blocks.planks, 7),
redwoodPlank (Blocks.planks, 8),
willowPlank (Blocks.planks, 9),
bambooThatching (Blocks.planks, 10),
pinePlank (Blocks.planks, 11),
hellBarkPlank (Blocks.planks, 12),
jacarandaPlank (Blocks.planks, 13),
acaciaLeaves (Blocks.leavesColorized1, 0),
mangroveLeaves (Blocks.leavesColorized1, 1),
palmLeaves (Blocks.leavesColorized1, 2),
redwoodLeaves (Blocks.leavesColorized1, 3),
willowLeaves (Blocks.leavesColorized2, 0),
pineLeaves (Blocks.leavesColorized2, 1),
yellowAutumnLeaves (Blocks.leaves1, 0),
bambooLeaves (Blocks.leaves1, 1),
magicLeaves (Blocks.leaves1, 2),
darkLeaves (Blocks.leaves1, 3),
deadLeaves (Blocks.leaves1, 4),
firLeaves (Blocks.leaves1, 5),
holyLeaves (Blocks.leaves1, 6),
orangeAutumnLeaves (Blocks.leaves1, 7),
originLeaves (Blocks.leaves2, 0),
pinkCherryLeaves (Blocks.leaves2, 1),
mapleLeaves (Blocks.leaves2, 2),
whiteCherryLeaves (Blocks.leaves2, 3),
hellBarkLeaves (Blocks.leaves2, 4),
jacarandaLeaves (Blocks.leaves2, 5),
appleLeaves (Blocks.leavesFruit, 3),
appleLeavesFruitless (Blocks.leavesFruit, 0),
persimmonLeaves (Blocks.leavesFruit2, 3),
persimmonLeavesFruitless (Blocks.leavesFruit2, 3),
bamboo (Blocks.bamboo, 0),
cloverPatchItem (Blocks.foliage, 13),
koruItem (Blocks.foliage, 12),
dryGrassItem (Blocks.foliage, 11),
wheatGrassItem (Blocks.foliage, 10),
shrubItem (Blocks.foliage, 9),
poisonIvyItem (Blocks.foliage, 7),
sproutItem (Blocks.foliage, 5),
bushItem (Blocks.foliage, 4),
highGrassItem (Blocks.foliage, 3),
mediumGrassItem (Blocks.foliage, 2),
shortGrassItem (Blocks.foliage, 1),
algae (Blocks.foliage, 0),
holySapling (Blocks.saplings, 7),
magicSapling (Blocks.saplings, 3),
darkSapling (Blocks.saplings, 4),
deadSapling (Blocks.saplings, 5),
acaciaSapling (Blocks.colorizedSaplings, 0),
firSapling (Blocks.saplings, 6),
mangroveSapling (Blocks.colorizedSaplings, 1),
palmSapling (Blocks.colorizedSaplings, 2),
redwoodSapling (Blocks.colorizedSaplings, 3),
willowSapling (Blocks.colorizedSaplings, 4),
pineSapling (Blocks.colorizedSaplings, 5),
sacredoakSapling (Blocks.colorizedSaplings, 6),
mapleSapling (Blocks.saplings, 11),
orangeAutumnSapling (Blocks.saplings, 8),
pinkCherrySapling (Blocks.saplings, 10),
whiteCherrySapling (Blocks.saplings, 12),
hellBarkSapling (Blocks.saplings, 13),
jacarandaSapling (Blocks.saplings, 14),
appleSapling (Blocks.saplings, 0),
originSapling (Blocks.saplings, 9),
yellowAutumnSapling (Blocks.saplings, 1),
bambooSapling (Blocks.saplings, 2),
persimmonSapling (Blocks.saplings, 15),
mud (Blocks.mud, 0),
driedDirt (Blocks.driedDirt, 0),
redRock (Blocks.redRock, 0),
ash (Blocks.ash, 0),
ashStone (Blocks.ashStone, 0),
flesh (Blocks.flesh, 0),
hardIce (Blocks.hardIce, 0),
originGrass (Blocks.originGrass, 0),
longGrass (Blocks.longGrass, 0),
hardSand (Blocks.hardSand, 0),
hardDirt (Blocks.hardDirt, 0),
holyGrass (Blocks.holyGrass, 0),
holyDirt (Blocks.holyDirt, 0),
holyStone (Blocks.holyStone, 0),
holyStoneCobble (Blocks.holyStone, 1),
holyStoneMossy (Blocks.holyStone, 3),
crystal (Blocks.crystal, 0),
cragRock (Blocks.cragRock, 0),
quicksand (Blocks.mud, 1),
cloud (Blocks.cloud, 0),
smolderingGrass (Blocks.holyGrass, 1),
redRockCobble (Blocks.redRock, 1),
giantFlowerRed (Blocks.petals, 0),
giantFlowerYellow (Blocks.petals, 1),
amethystOre (Blocks.amethystOre, 0),
amethystBlock (Blocks.amethystOre, 1),
rubyOre (Blocks.amethystOre, 2),
rubyBlock (Blocks.amethystOre, 3),
peridotOre (Blocks.amethystOre, 4),
peridotBlock (Blocks.amethystOre, 5),
topazOre (Blocks.amethystOre, 6),
topazBlock (Blocks.amethystOre, 7),
tanzaniteOre (Blocks.amethystOre, 8),
tanzaniteBlock (Blocks.amethystOre, 9),
malachiteOre (Blocks.amethystOre, 10),
malachiteBlock (Blocks.amethystOre, 11),
sapphireOre (Blocks.amethystOre, 12),
sapphireBlock (Blocks.amethystOre, 13),
smallBoneSegment (Blocks.bones, 0),
mediumBoneSegment (Blocks.bones, 1),
largeBoneSegment (Blocks.bones, 2),
overgrownNetherrack (Blocks.overgrownNetherrack, 0),
kelp (Blocks.coral, 0),
honeycomb (Blocks.hive, 0),
hive (Blocks.hive, 1),
honeycombempty (Blocks.hive, 2),
honeyBlock (Blocks.honeyBlock, 0),
toadstool (Blocks.mushrooms, 0),
portobello (Blocks.mushrooms, 1),
bluemilk (Blocks.mushrooms, 2),
glowshroom (Blocks.mushrooms, 3),
flatmushroom (Blocks.mushrooms, 4),
deadGrass (Blocks.plants, 0),
desertGrass (Blocks.plants, 1),
desertSprouts (Blocks.plants, 2),
duneGrass (Blocks.plants, 3),
holyTallGrass (Blocks.plants, 4),
thorn (Blocks.plants, 5),
barley (Blocks.plants, 6),
cattail (Blocks.plants, 7),
rivercane (Blocks.plants, 8),
tinyCactus (Blocks.plants, 12),
witherwart (Blocks.plants, 13),
reed (Blocks.plants, 14),
root (Blocks.plants, 15),
treeMoss (Blocks.treeMoss, 0),
moss (Blocks.moss, 0),
willow (Blocks.willow, 0),
ivy (Blocks.ivy, 0),
clover (Blocks.flowers, 0),
swampFlower (Blocks.flowers, 1),
deathbloom (Blocks.flowers, 2),
glowFlower (Blocks.flowers, 3),
hydrangea (Blocks.flowers, 4),
cosmos (Blocks.flowers, 5),
daffodil (Blocks.flowers, 6),
wildFlower (Blocks.flowers, 7),
violet (Blocks.flowers, 8),
anenome (Blocks.flowers, 9),
lilyflower (Blocks.flowers, 10),
rainbowflower (Blocks.flowers, 11),
bromeliad (Blocks.flowers, 12),
sunflower (Blocks.flowers, 13),
dandelion (Blocks.flowers, 15),
hibiscus (Blocks.flowers2, 0),
lilyofthevalley (Blocks.flowers2, 1),
burningblossom (Blocks.flowers2, 2),
lavender (Blocks.flowers2, 3),
goldenrod (Blocks.flowers2, 4),
bluebells (Blocks.flowers2, 5),
minersdelight (Blocks.flowers2, 6),
icyiris (Blocks.flowers2, 7),
stalagmite (Blocks.stoneFormations, 0),
stalactite (Blocks.stoneFormations, 1),
;
public Optional<? extends Block> block;
public int meta;
private EnumBlocks(Optional<? extends Block> block, int meta) {
this.block = block;
this.meta = meta;
}
public Optional<? extends Block> getBlock() {
return block;
}
public int getMeta() {
return meta;
}
}
public static ItemStack getBlockItemStack(String string)
{
Optional<? extends Block> stackblock = EnumBlocks.valueOf(string).block;
int stackmeta = EnumBlocks.valueOf(string).meta;
if (stackmeta != 0)
{
return new ItemStack(stackblock.get(), 1, stackmeta);
}
return new ItemStack(stackblock.get(), 1);
}
public static int getBlockID(String string)
{
Optional<? extends Block> stackblock = EnumBlocks.valueOf(string).block;
return stackblock.get().blockID;
}
public static int getBlockMeta(String string)
{
int stackmeta = EnumBlocks.valueOf(string).meta;
return stackmeta;
}
}

View file

@ -6,7 +6,7 @@ import net.minecraft.item.EnumArmorMaterial;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemStack;
import biomesoplenty.BiomesOPlenty;
import biomesoplenty.api.Items;
import biomesoplenty.api.BOPItems;
public class ArmorAmethyst extends ItemArmor
{
@ -22,7 +22,7 @@ public class ArmorAmethyst extends ItemArmor
@Override
public boolean getIsRepairable(ItemStack par1ItemStack, ItemStack par2ItemStack)
{
if (par2ItemStack.itemID == Items.miscItems.get().itemID && par2ItemStack.getItemDamage() == 2)
if (par2ItemStack.itemID == BOPItems.miscItems.get().itemID && par2ItemStack.getItemDamage() == 2)
return true;
return false;
@ -31,9 +31,9 @@ public class ArmorAmethyst extends ItemArmor
@Override
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type)
{
if (stack.itemID == Items.helmetAmethyst.get().itemID || stack.itemID == Items.chestplateAmethyst.get().itemID || stack.itemID == Items.bootsAmethyst.get().itemID)
if (stack.itemID == BOPItems.helmetAmethyst.get().itemID || stack.itemID == BOPItems.chestplateAmethyst.get().itemID || stack.itemID == BOPItems.bootsAmethyst.get().itemID)
return "biomesoplenty:textures/armor/amethyst_1.png";
if (stack.itemID == Items.leggingsAmethyst.get().itemID)
if (stack.itemID == BOPItems.leggingsAmethyst.get().itemID)
return "biomesoplenty:textures/armor/amethyst_2.png";
return null;

View file

@ -6,7 +6,7 @@ import net.minecraft.item.EnumArmorMaterial;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemStack;
import biomesoplenty.BiomesOPlenty;
import biomesoplenty.api.Items;
import biomesoplenty.api.BOPItems;
public class ArmorFlippers extends ItemArmor
{
@ -23,7 +23,7 @@ public class ArmorFlippers extends ItemArmor
@Override
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type)
{
if (stack.itemID == Items.flippers.get().itemID)
if (stack.itemID == BOPItems.flippers.get().itemID)
return "biomesoplenty:textures/armor/flippers.png";
return null;

View file

@ -6,7 +6,7 @@ import net.minecraft.item.EnumArmorMaterial;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemStack;
import biomesoplenty.BiomesOPlenty;
import biomesoplenty.api.Items;
import biomesoplenty.api.BOPItems;
public class ArmorMuddy extends ItemArmor
{
@ -22,9 +22,9 @@ public class ArmorMuddy extends ItemArmor
@Override
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type)
{
if (stack.itemID == Items.helmetMud.get().itemID || stack.itemID == Items.chestplateMud.get().itemID || stack.itemID == Items.bootsMud.get().itemID)
if (stack.itemID == BOPItems.helmetMud.get().itemID || stack.itemID == BOPItems.chestplateMud.get().itemID || stack.itemID == BOPItems.bootsMud.get().itemID)
return "biomesoplenty:textures/armor/mud_1.png";
if (stack.itemID == Items.leggingsMud.get().itemID)
if (stack.itemID == BOPItems.leggingsMud.get().itemID)
return "biomesoplenty:textures/armor/mud_2.png";
return null;

View file

@ -6,7 +6,7 @@ import net.minecraft.item.EnumArmorMaterial;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemStack;
import biomesoplenty.BiomesOPlenty;
import biomesoplenty.api.Items;
import biomesoplenty.api.BOPItems;
public class ArmorWadingBoots extends ItemArmor
{
@ -23,7 +23,7 @@ public class ArmorWadingBoots extends ItemArmor
@Override
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type)
{
if (stack.itemID == Items.wadingBoots.get().itemID)
if (stack.itemID == BOPItems.wadingBoots.get().itemID)
return "biomesoplenty:textures/armor/wadingboots.png";
return null;

View file

@ -8,7 +8,7 @@ import cpw.mods.fml.relauncher.FMLLaunchHandler;
import cpw.mods.fml.relauncher.IFMLLoadingPlugin;
import cpw.mods.fml.relauncher.IFMLLoadingPlugin.TransformerExclusions;
@TransformerExclusions({ "biomesoplenty.asm" })
/*@TransformerExclusions({ "biomesoplenty.asm" })
public class BOPFMLLoadingPlugin implements IFMLLoadingPlugin
{
private static String SIDE = FMLLaunchHandler.side().name();
@ -21,7 +21,7 @@ public class BOPFMLLoadingPlugin implements IFMLLoadingPlugin
}
/*TODO: Remove in 1.7*/
public String[] getLibraryRequestClass()
/*public String[] getLibraryRequestClass()
{
return null;
}
@ -49,4 +49,4 @@ public class BOPFMLLoadingPlugin implements IFMLLoadingPlugin
{
location = (File)data.get("coremodLocation");
}
}
}*/

View file

@ -43,7 +43,7 @@ import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.event.terraingen.DecorateBiomeEvent;
import net.minecraftforge.event.terraingen.OreGenEvent;
import net.minecraftforge.event.terraingen.TerrainGen;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.api.Fluids;
import biomesoplenty.configuration.BOPConfigurationTerrainGen;
import biomesoplenty.worldgen.WorldGenAlgae;
@ -453,12 +453,12 @@ public class BiomeDecoratorBOP extends BiomeDecorator
super(par1BiomeGenBase);
sandGen = new WorldGenSand(7, Block.sand.blockID);
oasesGen = new WorldGenOasis(7, Block.grass.blockID);
mudGen = new WorldGenMud(7, Blocks.mud.get().blockID);
mudGen = new WorldGenMud(7, BOPBlocks.mud.get().blockID);
gravelShoreGen = new WorldGenGravel(7, Block.gravel.blockID);
gravelAsSandGen = new WorldGenSand(6, Block.gravel.blockID);
dirtGen = new WorldGenMinable(Block.dirt.blockID, 32);
gravelGen = new WorldGenMinable(Block.gravel.blockID, 32);
ashGen = new WorldGenAsh(Blocks.ash.get().blockID, 32);
ashGen = new WorldGenAsh(BOPBlocks.ash.get().blockID, 32);
grassMesaGen = new WorldGenMesa(Block.grass.blockID, 48);
sandMesaGen = new WorldGenMesa(Block.sand.blockID, 32);
myceliumGen = new WorldGenMycelium(Block.mycelium.blockID, 32);
@ -471,11 +471,11 @@ public class BiomeDecoratorBOP extends BiomeDecorator
clayInStoneGen = new WorldGenBadlands3(Block.stainedClay.blockID, 32);
clayInStone2Gen = new WorldGenBadlands(Block.stainedClay.blockID, 32);
quagmireGen = new WorldGenQuagmire(Block.grass.blockID, 48);
mossySkystoneGen = new WorldGenMossySkystone(Blocks.holyStone.get().blockID, 24);
quicksandGen = new WorldGenQuicksand(Blocks.mud.get().blockID, 24);
mossySkystoneGen = new WorldGenMossySkystone(BOPBlocks.holyStone.get().blockID, 24);
quicksandGen = new WorldGenQuicksand(BOPBlocks.mud.get().blockID, 24);
spongeGen = new WorldGenSponge(Block.sponge.blockID, 24);
canyonGen = new WorldGenCanyon(Blocks.redRock.get().blockID, 48);
driedDirtInSandGen = new WorldGenDriedDirt(Blocks.driedDirt.get().blockID, 32);
canyonGen = new WorldGenCanyon(BOPBlocks.redRock.get().blockID, 48);
driedDirtInSandGen = new WorldGenDriedDirt(BOPBlocks.driedDirt.get().blockID, 32);
cloudGen = new WorldGenCloud();
coalGen = new WorldGenMinable(Block.oreCoal.blockID, 16);
ironGen = new WorldGenMinable(Block.oreIron.blockID, 8);
@ -485,45 +485,45 @@ public class BiomeDecoratorBOP extends BiomeDecorator
lapisGen = new WorldGenMinable(Block.oreLapis.blockID, 6);
plantYellowGen = new WorldGenBOPFlowers(Block.plantYellow.blockID, 0);
cobwebGen = new WorldGenCobwebs(Block.web.blockID, 0);
dandelionGen = new WorldGenBOPFlowers(Blocks.flowers.get().blockID, 15);
dandelionGen = new WorldGenBOPFlowers(BOPBlocks.flowers.get().blockID, 15);
plantRedGen = new WorldGenBOPFlowers(Block.plantRed.blockID, 0);
plantWhiteGen = new WorldGenBOPFlowers(Blocks.flowers.get().blockID, 9);
plantBlueGen = new WorldGenBOPFlowers(Blocks.flowers.get().blockID, 1);
plantPurpleGen = new WorldGenBOPFlowers(Blocks.flowers.get().blockID, 7);
plantPinkGen = new WorldGenBOPFlowers(Blocks.flowers.get().blockID, 6);
plantOrangeGen = new WorldGenBOPFlowers(Blocks.flowers.get().blockID, 5);
rainbowflowerGen = new WorldGenBOPFlowers(Blocks.flowers.get().blockID, 11);
plantTinyGen = new WorldGenBOPFlowers(Blocks.flowers.get().blockID, 0);
plantGlowGen = new WorldGenBOPFlowers(Blocks.flowers.get().blockID, 3);
plantDeadGen = new WorldGenBOPFlowers(Blocks.plants.get().blockID, 0);
plantDesertGen = new WorldGenBOPFlowers(Blocks.plants.get().blockID, 1);
plantWhiteGen = new WorldGenBOPFlowers(BOPBlocks.flowers.get().blockID, 9);
plantBlueGen = new WorldGenBOPFlowers(BOPBlocks.flowers.get().blockID, 1);
plantPurpleGen = new WorldGenBOPFlowers(BOPBlocks.flowers.get().blockID, 7);
plantPinkGen = new WorldGenBOPFlowers(BOPBlocks.flowers.get().blockID, 6);
plantOrangeGen = new WorldGenBOPFlowers(BOPBlocks.flowers.get().blockID, 5);
rainbowflowerGen = new WorldGenBOPFlowers(BOPBlocks.flowers.get().blockID, 11);
plantTinyGen = new WorldGenBOPFlowers(BOPBlocks.flowers.get().blockID, 0);
plantGlowGen = new WorldGenBOPFlowers(BOPBlocks.flowers.get().blockID, 3);
plantDeadGen = new WorldGenBOPFlowers(BOPBlocks.plants.get().blockID, 0);
plantDesertGen = new WorldGenBOPFlowers(BOPBlocks.plants.get().blockID, 1);
pumpkinAltGen = new WorldGenPumpkinAlt(Block.pumpkin.blockID, 0);
thornGen = new WorldGenBOPFlowers(Blocks.plants.get().blockID, 5);
bushGen = new WorldGenBOPBush(Blocks.foliage.get().blockID, 4);
berryBushGen = new WorldGenBOPFlowers(Blocks.foliage.get().blockID, 8);
shrubGen = new WorldGenBOPBush(Blocks.foliage.get().blockID, 9);
wheatGrassGen = new WorldGenTallGrass(Blocks.foliage.get().blockID, 10);
wetGrassGen = new WorldGenTallGrass(Blocks.foliage.get().blockID, 11);
tinyCactusGen = new WorldGenBOPFlowers(Blocks.plants.get().blockID, 12);
aloeGen = new WorldGenBOPFlowers(Blocks.flowers.get().blockID, 12);
coralGen = new WorldGenCoral(Blocks.coral.get().blockID, 4);
hibiscusGen = new WorldGenBOPFlowers(Blocks.flowers2.get().blockID, 0);
lilyOfTheValleyGen = new WorldGenBOPFlowers(Blocks.flowers2.get().blockID, 1);
burningBlossomGen = new WorldGenBOPDarkFlowers(Blocks.flowers2.get().blockID, 2);
lavenderGen = new WorldGenBOPFlowers(Blocks.flowers2.get().blockID, 3);
goldenrodGen = new WorldGenBOPFlowers(Blocks.flowers2.get().blockID, 4);
bluebellGen = new WorldGenBOPFlowers(Blocks.flowers2.get().blockID, 5);
minersDelightGen = new WorldGenBOPDarkFlowers(Blocks.flowers2.get().blockID, 6);
icyIrisGen = new WorldGenBOPFlowers(Blocks.flowers2.get().blockID, 7);
thornGen = new WorldGenBOPFlowers(BOPBlocks.plants.get().blockID, 5);
bushGen = new WorldGenBOPBush(BOPBlocks.foliage.get().blockID, 4);
berryBushGen = new WorldGenBOPFlowers(BOPBlocks.foliage.get().blockID, 8);
shrubGen = new WorldGenBOPBush(BOPBlocks.foliage.get().blockID, 9);
wheatGrassGen = new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 10);
wetGrassGen = new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 11);
tinyCactusGen = new WorldGenBOPFlowers(BOPBlocks.plants.get().blockID, 12);
aloeGen = new WorldGenBOPFlowers(BOPBlocks.flowers.get().blockID, 12);
coralGen = new WorldGenCoral(BOPBlocks.coral.get().blockID, 4);
hibiscusGen = new WorldGenBOPFlowers(BOPBlocks.flowers2.get().blockID, 0);
lilyOfTheValleyGen = new WorldGenBOPFlowers(BOPBlocks.flowers2.get().blockID, 1);
burningBlossomGen = new WorldGenBOPDarkFlowers(BOPBlocks.flowers2.get().blockID, 2);
lavenderGen = new WorldGenBOPFlowers(BOPBlocks.flowers2.get().blockID, 3);
goldenrodGen = new WorldGenBOPFlowers(BOPBlocks.flowers2.get().blockID, 4);
bluebellGen = new WorldGenBOPFlowers(BOPBlocks.flowers2.get().blockID, 5);
minersDelightGen = new WorldGenBOPDarkFlowers(BOPBlocks.flowers2.get().blockID, 6);
icyIrisGen = new WorldGenBOPFlowers(BOPBlocks.flowers2.get().blockID, 7);
lilyflowerGen = new WorldGenLilyflower();
deathbloomGen = new WorldGenBOPFlowers(Blocks.flowers.get().blockID, 2);
hydrangeaGen = new WorldGenBOPFlowers(Blocks.flowers.get().blockID, 4);
violetGen = new WorldGenBOPFlowers(Blocks.flowers.get().blockID, 8);
duneGrassGen = new WorldGenBOPFlowers(Blocks.plants.get().blockID, 3);
holyTallGrassGen = new WorldGenBOPFlowers(Blocks.plants.get().blockID, 4);
desertSproutsGen = new WorldGenBOPFlowers(Blocks.plants.get().blockID, 2);
poisonIvyGen = new WorldGenBOPBush(Blocks.foliage.get().blockID, 7);
sunflowerGen = new WorldGenSunflower(Blocks.flowers.get().blockID, 13);
deathbloomGen = new WorldGenBOPFlowers(BOPBlocks.flowers.get().blockID, 2);
hydrangeaGen = new WorldGenBOPFlowers(BOPBlocks.flowers.get().blockID, 4);
violetGen = new WorldGenBOPFlowers(BOPBlocks.flowers.get().blockID, 8);
duneGrassGen = new WorldGenBOPFlowers(BOPBlocks.plants.get().blockID, 3);
holyTallGrassGen = new WorldGenBOPFlowers(BOPBlocks.plants.get().blockID, 4);
desertSproutsGen = new WorldGenBOPFlowers(BOPBlocks.plants.get().blockID, 2);
poisonIvyGen = new WorldGenBOPBush(BOPBlocks.foliage.get().blockID, 7);
sunflowerGen = new WorldGenSunflower(BOPBlocks.flowers.get().blockID, 13);
promisedWillowGen = new WorldGenPromisedWillow();
netherVineGen = new WorldGenNetherVines();
boneSpineGen = new WorldGenBoneSpine();
@ -537,21 +537,21 @@ public class BiomeDecoratorBOP extends BiomeDecorator
waspHiveGen = new WorldGenHive();
mushroomBrownGen = new WorldGenBOPFlowers(Block.mushroomBrown.blockID, 0);
mushroomRedGen = new WorldGenBOPFlowers(Block.mushroomRed.blockID, 0);
flatMushroomGen = new WorldGenBOPFlowers(Blocks.mushrooms.get().blockID, 4);
toadstoolGen = new WorldGenBOPFlowers(Blocks.mushrooms.get().blockID, 0);
portobelloGen = new WorldGenBOPFlowers(Blocks.mushrooms.get().blockID, 1);
blueMilkGen = new WorldGenBOPFlowers(Blocks.mushrooms.get().blockID, 2);
glowshroomGen = new WorldGenBOPFlowers(Blocks.mushrooms.get().blockID, 3);
sproutGen = new WorldGenSprout(Blocks.foliage.get().blockID, 5);
highGrassGen = new WorldGenHighGrass(Blocks.foliage.get().blockID, 3);
highCattailGen = new WorldGenHighCattail(Blocks.plants.get().blockID, 9);
outbackGen = new WorldGenOutback(Blocks.foliage.get().blockID, 2);
smolderingGrassGen = new WorldGenSmolderingGrass(Blocks.holyGrass.get().blockID, 1);
flatMushroomGen = new WorldGenBOPFlowers(BOPBlocks.mushrooms.get().blockID, 4);
toadstoolGen = new WorldGenBOPFlowers(BOPBlocks.mushrooms.get().blockID, 0);
portobelloGen = new WorldGenBOPFlowers(BOPBlocks.mushrooms.get().blockID, 1);
blueMilkGen = new WorldGenBOPFlowers(BOPBlocks.mushrooms.get().blockID, 2);
glowshroomGen = new WorldGenBOPFlowers(BOPBlocks.mushrooms.get().blockID, 3);
sproutGen = new WorldGenSprout(BOPBlocks.foliage.get().blockID, 5);
highGrassGen = new WorldGenHighGrass(BOPBlocks.foliage.get().blockID, 3);
highCattailGen = new WorldGenHighCattail(BOPBlocks.plants.get().blockID, 9);
outbackGen = new WorldGenOutback(BOPBlocks.foliage.get().blockID, 2);
smolderingGrassGen = new WorldGenSmolderingGrass(BOPBlocks.holyGrass.get().blockID, 1);
netherGrassGen = new WorldGenNetherGrass(Block.tallGrass.blockID, 1);
netherWartGen = new WorldGenNetherWart(Block.netherStalk.blockID, 0);
canyonGrassGen = new WorldGenCanyonGrass(Blocks.foliage.get().blockID, 2);
canyonGrassGen = new WorldGenCanyonGrass(BOPBlocks.foliage.get().blockID, 2);
steppeGen = new WorldGenSteppe(Block.sand.blockID, 0);
carrotGen = new WorldGenBOPFlowers(Blocks.plants.get().blockID, 11);
carrotGen = new WorldGenBOPFlowers(BOPBlocks.plants.get().blockID, 11);
potatoGen = new WorldGenPotatoes(Block.tallGrass.blockID, 0);
bigMushroomGen = new WorldGenBigMushroom();
reedGen = new WorldGenReed();
@ -562,12 +562,12 @@ public class BiomeDecoratorBOP extends BiomeDecorator
algaeGen = new WorldGenAlgae();
waterReedGen = new WorldGenWaterReeds();
redwoodShrubGen = new WorldGenRedwoodShrub(0,0);
koruGen = new WorldGenTallGrass(Blocks.foliage.get().blockID, 12);
cloverPatchGen = new WorldGenCloverPatch(Blocks.foliage.get().blockID, 13);
rootGen = new WorldGenBOPTallGrass(Blocks.plants.get().blockID, 15);
stalagmiteGen = new WorldGenBOPTallGrass(Blocks.stoneFormations.get().blockID, 0);
stalactiteGen = new WorldGenBOPTallGrass(Blocks.stoneFormations.get().blockID, 1);
pitGen = new WorldGenPit(Blocks.ash.get().blockID);
koruGen = new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 12);
cloverPatchGen = new WorldGenCloverPatch(BOPBlocks.foliage.get().blockID, 13);
rootGen = new WorldGenBOPTallGrass(BOPBlocks.plants.get().blockID, 15);
stalagmiteGen = new WorldGenBOPTallGrass(BOPBlocks.stoneFormations.get().blockID, 0);
stalactiteGen = new WorldGenBOPTallGrass(BOPBlocks.stoneFormations.get().blockID, 1);
pitGen = new WorldGenPit(BOPBlocks.ash.get().blockID);
waterlilyPerChunk = 0;
lilyflowersPerChunk = 0;
treesPerChunk = 0;

View file

@ -3,9 +3,10 @@ package biomesoplenty.biomes;
import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.init.Blocks;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
public class BiomeGenAlps extends BiomeGenBase
{
@ -14,8 +15,8 @@ public class BiomeGenAlps extends BiomeGenBase
public BiomeGenAlps(int par1)
{
super(par1);
topBlock = (byte)Block.stone.blockID;
fillerBlock = (byte)Block.stone.blockID;
topBlock = Blocks.stone;
fillerBlock = Blocks.stone;
theBiomeDecorator = new BiomeDecoratorBOP(this);
customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
customBiomeDecorator.treesPerChunk = -999;
@ -26,22 +27,23 @@ public class BiomeGenAlps extends BiomeGenBase
}
@Override
public void decorate(World par1World, Random par2Random, int par3, int par4)
public void decorate(World world, Random par2Random, int chunkX, int chunkZ)
{
super.decorate(par1World, par2Random, par3, par4);
super.decorate(world, par2Random, chunkX, chunkZ);
int var5 = 12 + par2Random.nextInt(6);
for (int var6 = 0; var6 < var5; ++var6)
{
int var7 = par3 + par2Random.nextInt(16);
int var7 = chunkX + par2Random.nextInt(16);
int var8 = par2Random.nextInt(28) + 4;
int var9 = par4 + par2Random.nextInt(16);
int var10 = par1World.getBlockId(var7, var8, var9);
int var9 = chunkZ + par2Random.nextInt(16);
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
//TODO: world.getBlock(x, y, z)
Block block = world.func_147439_a(var7, var8, var9);
if (block != null && block.isGenMineableReplaceable(world, var7, var8, var9, Blocks.stone))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 8, 2);
world.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 8, 2);
}
}
}

View file

@ -7,7 +7,7 @@ import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenTaiga2;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.tree.WorldGenTaiga5;
public class BiomeGenAlpsBase extends BiomeGenBase
@ -41,7 +41,7 @@ public class BiomeGenAlpsBase extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 8, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 8, 2);
}
}
}

View file

@ -6,7 +6,7 @@ import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.tree.WorldGenTaiga6;
public class BiomeGenAlpsForest extends BiomeGenBase
@ -44,7 +44,7 @@ public class BiomeGenAlpsForest extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 8, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 8, 2);
}
}
}

View file

@ -6,7 +6,7 @@ import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
public class BiomeGenArctic extends BiomeGenBase implements IWCFog
{
@ -41,7 +41,7 @@ public class BiomeGenArctic extends BiomeGenBase implements IWCFog
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 8, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 8, 2);
}
}
}

View file

@ -6,7 +6,7 @@ import net.minecraft.block.Block;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.tree.WorldGenDeadTree;
import biomesoplenty.worldgen.tree.WorldGenPersimmon;
import biomesoplenty.worldgen.tree.WorldGenTaiga4;
@ -41,7 +41,7 @@ public class BiomeGenAutumnHills extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(3) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : (par1Random.nextInt(5) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 2) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 2));
return par1Random.nextInt(3) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : (par1Random.nextInt(5) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 2) : new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2));
}
/**

View file

@ -6,7 +6,7 @@ import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMisc;
public class BiomeGenBadlands extends BiomeGenBase
@ -48,7 +48,7 @@ public class BiomeGenBadlands extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 2, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 2, 2);
}
}
}

View file

@ -9,7 +9,7 @@ import net.minecraft.world.gen.feature.WorldGenShrub;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.tree.WorldGenBambooTree;
public class BiomeGenBambooForest extends BiomeGenBase implements IWCFog
@ -48,7 +48,7 @@ public class BiomeGenBambooForest extends BiomeGenBase implements IWCFog
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 6, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 6, 2);
}
}
}
@ -69,7 +69,7 @@ public class BiomeGenBambooForest extends BiomeGenBase implements IWCFog
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(4) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 2) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 1);
return par1Random.nextInt(4) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 2) : new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1);
}
/**

View file

@ -10,7 +10,7 @@ import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenerator;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.worldgen.WorldGenMoss;
import biomesoplenty.worldgen.tree.WorldGenBayou1;
@ -77,7 +77,7 @@ public class BiomeGenBayou extends BiomeGenBase implements IWCFog
if (var100 == Block.stone.blockID)
{
par1World.setBlock(var77, var88, var99, Blocks.amethystOre.get().blockID, 10, 2);
par1World.setBlock(var77, var88, var99, BOPBlocks.amethystOre.get().blockID, 10, 2);
}
}

View file

@ -7,7 +7,7 @@ import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
public class BiomeGenBirchForest extends BiomeGenBase
{
@ -44,7 +44,7 @@ public class BiomeGenBirchForest extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(3) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 1);
return par1Random.nextInt(3) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1);
}
@Override

View file

@ -7,7 +7,7 @@ import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.WorldGenBogBush;
import biomesoplenty.worldgen.WorldGenCypress1;
import biomesoplenty.worldgen.WorldGenCypress2;
@ -63,7 +63,7 @@ public class BiomeGenBog extends BiomeGenBase
if (var100 == Block.stone.blockID)
{
par1World.setBlock(var77, var88, var99, Blocks.amethystOre.get().blockID, 10, 2);
par1World.setBlock(var77, var88, var99, BOPBlocks.amethystOre.get().blockID, 10, 2);
}
}
@ -91,7 +91,7 @@ public class BiomeGenBog extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(2) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 2);
return par1Random.nextInt(2) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2);
}
/**

View file

@ -6,7 +6,7 @@ import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.WorldGenCanyonShrub;
import biomesoplenty.worldgen.tree.WorldGenPineTree;
@ -20,8 +20,8 @@ public class BiomeGenCanyon extends BiomeGenBase
spawnableCreatureList.clear();
theBiomeDecorator = new BiomeDecoratorBOP(this);
customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
topBlock = (byte)Blocks.hardDirt.get().blockID;
fillerBlock = (byte)Blocks.hardDirt.get().blockID;
topBlock = (byte)BOPBlocks.hardDirt.get().blockID;
fillerBlock = (byte)BOPBlocks.hardDirt.get().blockID;
customBiomeDecorator.treesPerChunk = 7;
customBiomeDecorator.flowersPerChunk = -999;
customBiomeDecorator.canyonGrassPerChunk = 5;
@ -56,7 +56,7 @@ public class BiomeGenCanyon extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 2, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 2, 2);
}
}
}

View file

@ -6,7 +6,7 @@ import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.WorldGenCanyonShrub;
import biomesoplenty.worldgen.tree.WorldGenPineTree;
@ -20,8 +20,8 @@ public class BiomeGenCanyonRavine extends BiomeGenBase
spawnableCreatureList.clear();
theBiomeDecorator = new BiomeDecoratorBOP(this);
customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
topBlock = (byte)Blocks.hardDirt.get().blockID;
fillerBlock = (byte)Blocks.hardDirt.get().blockID;
topBlock = (byte)BOPBlocks.hardDirt.get().blockID;
fillerBlock = (byte)BOPBlocks.hardDirt.get().blockID;
customBiomeDecorator.treesPerChunk = 4;
customBiomeDecorator.flowersPerChunk = -999;
customBiomeDecorator.canyonGrassPerChunk = 3;
@ -56,7 +56,7 @@ public class BiomeGenCanyonRavine extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 2, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 2, 2);
}
}
}

View file

@ -9,7 +9,7 @@ import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.WorldGenChaparral1;
import biomesoplenty.worldgen.WorldGenChaparral2;
import biomesoplenty.worldgen.WorldGenChaparral3;
@ -53,7 +53,7 @@ public class BiomeGenChaparral extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 4, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 4, 2);
}
}
}
@ -73,7 +73,7 @@ public class BiomeGenChaparral extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(2) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Block.tallGrass.blockID, 1);
return par1Random.nextInt(2) == 0 ? new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Block.tallGrass.blockID, 1);
}
/**

View file

@ -9,7 +9,7 @@ import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.tree.WorldGenTaiga3;
import biomesoplenty.worldgen.tree.WorldGenTaiga4;
import biomesoplenty.worldgen.tree.WorldGenTaiga9;
@ -57,7 +57,7 @@ public class BiomeGenConiferousForest extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(2) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 2);
return par1Random.nextInt(2) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2);
}
@Override

View file

@ -7,7 +7,7 @@ import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.tree.WorldGenTaiga3;
import biomesoplenty.worldgen.tree.WorldGenTaiga4;
import biomesoplenty.worldgen.tree.WorldGenTaiga9;
@ -50,7 +50,7 @@ public class BiomeGenConiferousForestSnow extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 8, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 8, 2);
}
}
}
@ -70,6 +70,6 @@ public class BiomeGenConiferousForestSnow extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(2) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 1);
return par1Random.nextInt(2) == 0 ? new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2) : new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1);
}
}

View file

@ -7,7 +7,7 @@ import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMisc;
public class BiomeGenCrag extends BiomeGenBase implements IWCFog
@ -22,8 +22,8 @@ public class BiomeGenCrag extends BiomeGenBase implements IWCFog
customBiomeDecorator.treesPerChunk = -999;
spawnableCreatureList.clear();
spawnableWaterCreatureList.clear();
topBlock = (byte)Blocks.cragRock.get().blockID;
fillerBlock = (byte)Blocks.cragRock.get().blockID;
topBlock = (byte)BOPBlocks.cragRock.get().blockID;
fillerBlock = (byte)BOPBlocks.cragRock.get().blockID;
waterColorMultiplier = 944693;
}
@ -43,7 +43,7 @@ public class BiomeGenCrag extends BiomeGenBase implements IWCFog
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 12, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 12, 2);
}
}
}

View file

@ -7,7 +7,7 @@ import net.minecraft.block.Block;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.worldgen.tree.WorldGenDeadTree;
import biomesoplenty.worldgen.tree.WorldGenDeadTree2;
@ -38,7 +38,7 @@ public class BiomeGenDeadForest extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(9) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 0) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 1);
return par1Random.nextInt(9) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 0) : new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1);
}
/**

View file

@ -8,7 +8,7 @@ import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.worldgen.tree.WorldGenDeadTree;
import biomesoplenty.worldgen.tree.WorldGenDeadTree2;
@ -47,7 +47,7 @@ public class BiomeGenDeadForestSnow extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 8, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 8, 2);
}
}
}
@ -58,7 +58,7 @@ public class BiomeGenDeadForestSnow extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return new WorldGenTallGrass(Blocks.foliage.get().blockID, 1);
return new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1);
}
/**

View file

@ -9,7 +9,7 @@ import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.worldgen.tree.WorldGenDeadTree;
@ -56,7 +56,7 @@ public class BiomeGenDeadSwamp extends BiomeGenBase implements IWCFog
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 10, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 10, 2);
}
}
}
@ -67,7 +67,7 @@ public class BiomeGenDeadSwamp extends BiomeGenBase implements IWCFog
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(9) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 2);
return par1Random.nextInt(9) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2);
}
/**

View file

@ -12,7 +12,7 @@ import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenMinable;
import net.minecraft.world.gen.feature.WorldGenerator;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.worldgen.WorldGenDeadlands;
@ -25,8 +25,8 @@ public class BiomeGenDeadlands extends BiomeGenBase implements IWCFog
public BiomeGenDeadlands(int par1)
{
super(par1);
topBlock = (byte)Blocks.ash.get().blockID;
fillerBlock = (byte)Blocks.ash.get().blockID;
topBlock = (byte)BOPBlocks.ash.get().blockID;
fillerBlock = (byte)BOPBlocks.ash.get().blockID;
theBiomeDecorator = new BiomeDecoratorBOP(this);
customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
customBiomeDecorator.treesPerChunk = -999;

View file

@ -8,7 +8,7 @@ import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenShrub;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.tree.WorldGenDeciduous;
public class BiomeGenDeciduousForest extends BiomeGenBase
@ -48,7 +48,7 @@ public class BiomeGenDeciduousForest extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(5) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 1);
return par1Random.nextInt(5) == 0 ? new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2) : new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1);
}
@Override

View file

@ -5,7 +5,7 @@ import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
public class BiomeGenDunes extends BiomeGenBase
{
@ -45,7 +45,7 @@ public class BiomeGenDunes extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 2, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 2, 2);
}
}
}

View file

@ -10,7 +10,7 @@ import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.WorldGenMoss;
import biomesoplenty.worldgen.tree.WorldGenDeadTree;
import biomesoplenty.worldgen.tree.WorldGenFen1;
@ -74,7 +74,7 @@ public class BiomeGenFen extends BiomeGenBase implements IWCFog
if (var100 == Block.stone.blockID)
{
par1World.setBlock(var77, var88, var99, Blocks.amethystOre.get().blockID, 10, 2);
par1World.setBlock(var77, var88, var99, BOPBlocks.amethystOre.get().blockID, 10, 2);
}
}
@ -93,7 +93,7 @@ public class BiomeGenFen extends BiomeGenBase implements IWCFog
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return (par1Random.nextInt(4) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : (par1Random.nextInt(3) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 1)));
return (par1Random.nextInt(4) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : (par1Random.nextInt(3) == 0 ? new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2) : new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1)));
}
/**

View file

@ -7,7 +7,7 @@ import net.minecraft.entity.passive.EntityHorse;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
public class BiomeGenField extends BiomeGenBase
{
@ -46,7 +46,7 @@ public class BiomeGenField extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 4, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 4, 2);
}
}
}

View file

@ -8,7 +8,7 @@ import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.tree.WorldGenPineTree;
public class BiomeGenFieldForest extends BiomeGenBase
@ -58,7 +58,7 @@ public class BiomeGenFieldForest extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 4, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 4, 2);
}
}
}

View file

@ -8,7 +8,7 @@ import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenerator;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMisc;
public class BiomeGenFrostForest extends BiomeGenBase implements IWCFog
@ -47,7 +47,7 @@ public class BiomeGenFrostForest extends BiomeGenBase implements IWCFog
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 8, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 8, 2);
}
}
}

View file

@ -12,7 +12,7 @@ import net.minecraft.world.gen.feature.WorldGenShrub;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.worldgen.WorldGenMoss;
import biomesoplenty.worldgen.tree.WorldGenSequoia;
@ -83,7 +83,7 @@ public class BiomeGenFungiForest extends BiomeGenBase implements IWCFog
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return (par1Random.nextInt(3) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : (par1Random.nextInt(4) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 2) : (par1Random.nextInt(2) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 1))));
return (par1Random.nextInt(3) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : (par1Random.nextInt(4) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 2) : (par1Random.nextInt(2) == 0 ? new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2) : new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1))));
}
/**

View file

@ -8,7 +8,7 @@ import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.entities.EntityRosester;
import biomesoplenty.worldgen.WorldGenBOPShrub;
import biomesoplenty.worldgen.WorldGenGiantFlowerRed;
@ -22,7 +22,7 @@ public class BiomeGenGarden extends BiomeGenBase
public BiomeGenGarden(int par1)
{
super(par1);
topBlock = (byte)Blocks.longGrass.get().blockID;
topBlock = (byte)BOPBlocks.longGrass.get().blockID;
fillerBlock = (byte)Block.dirt.blockID;
theBiomeDecorator = new BiomeDecoratorBOP(this);
customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
@ -63,7 +63,7 @@ public class BiomeGenGarden extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 4, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 4, 2);
}
}
}
@ -74,7 +74,7 @@ public class BiomeGenGarden extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return (par1Random.nextInt(4) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : (par1Random.nextInt(2) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 1) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 2)));
return (par1Random.nextInt(4) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : (par1Random.nextInt(2) == 0 ? new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1) : new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2)));
}
/**

View file

@ -5,7 +5,7 @@ import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
public class BiomeGenGlacier extends BiomeGenBase
{
@ -15,8 +15,8 @@ public class BiomeGenGlacier extends BiomeGenBase
{
super(par1);
spawnableCreatureList.clear();
topBlock = (byte)Blocks.hardIce.get().blockID;
fillerBlock = (byte)Blocks.hardIce.get().blockID;
topBlock = (byte)BOPBlocks.hardIce.get().blockID;
fillerBlock = (byte)BOPBlocks.hardIce.get().blockID;
theBiomeDecorator = new BiomeDecoratorBOP(this);
customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
customBiomeDecorator.treesPerChunk = -999;
@ -42,7 +42,7 @@ public class BiomeGenGlacier extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 8, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 8, 2);
}
}
}

View file

@ -13,7 +13,7 @@ import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
public class BiomeGenGrassland extends BiomeGenBase
{
@ -59,7 +59,7 @@ public class BiomeGenGrassland extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 4, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 4, 2);
}
}
}
@ -70,7 +70,7 @@ public class BiomeGenGrassland extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(3) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 1);
return par1Random.nextInt(3) == 0 ? new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2) : new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1);
}
/**

View file

@ -7,7 +7,7 @@ import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.WorldGenChaparral2;
import biomesoplenty.worldgen.WorldGenPoplar;
import biomesoplenty.worldgen.WorldGenPoplar2;
@ -51,7 +51,7 @@ public class BiomeGenGrove extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(2) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 2);
return par1Random.nextInt(2) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2);
}
@Override

View file

@ -9,7 +9,7 @@ import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenShrub;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.WorldGenJacarandaShrub;
public class BiomeGenHeathland extends BiomeGenBase
@ -49,7 +49,7 @@ public class BiomeGenHeathland extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 4, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 4, 2);
}
}
}

View file

@ -6,7 +6,7 @@ import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.tree.WorldGenPineTree;
import biomesoplenty.worldgen.tree.WorldGenTaiga6;
@ -44,7 +44,7 @@ public class BiomeGenHotSprings extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 12, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 12, 2);
}
}
}

View file

@ -9,7 +9,7 @@ import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.worldgen.tree.WorldGenIceTree;
@ -48,7 +48,7 @@ public class BiomeGenIcyHills extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 8, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 8, 2);
}
}
}

View file

@ -6,7 +6,7 @@ import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.tree.WorldGenJacaranda;
public class BiomeGenLavenderFields extends BiomeGenBase
@ -65,7 +65,7 @@ public class BiomeGenLavenderFields extends BiomeGenBase
if (var10 == Block.stone.blockID)
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 4, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 4, 2);
}
}
}

View file

@ -9,7 +9,7 @@ import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenShrub;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.tree.WorldGenAcacia;
import biomesoplenty.worldgen.tree.WorldGenDeadTree3;
@ -20,8 +20,8 @@ public class BiomeGenLushDesert extends BiomeGenBase
public BiomeGenLushDesert(int par1)
{
super(par1);
topBlock = (byte)Blocks.redRock.get().blockID;
fillerBlock = (byte)Blocks.redRock.get().blockID;
topBlock = (byte)BOPBlocks.redRock.get().blockID;
fillerBlock = (byte)BOPBlocks.redRock.get().blockID;
theBiomeDecorator = new BiomeDecoratorBOP(this);
customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
customBiomeDecorator.treesPerChunk = 12;
@ -70,7 +70,7 @@ public class BiomeGenLushDesert extends BiomeGenBase
if (var100 == Block.stone.blockID)
{
par1World.setBlock(var77, var88, var99, Blocks.amethystOre.get().blockID, 2, 2);
par1World.setBlock(var77, var88, var99, BOPBlocks.amethystOre.get().blockID, 2, 2);
}
}
@ -81,7 +81,7 @@ public class BiomeGenLushDesert extends BiomeGenBase
int var9 = par4 + par2Random.nextInt(16);
int var10 = par1World.getBlockId(var7, var8, var9);
if (var10 == Block.stone.blockID || var10 == Blocks.redRock.get().blockID)
if (var10 == Block.stone.blockID || var10 == BOPBlocks.redRock.get().blockID)
{
par1World.setBlock(var7, var8, var9, Block.waterMoving.blockID, 0, 2);
}

View file

@ -8,7 +8,7 @@ import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.tree.WorldGenSwampTall;
public class BiomeGenLushSwamp extends BiomeGenBase
@ -56,7 +56,7 @@ public class BiomeGenLushSwamp extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 10, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 10, 2);
}
}
}

View file

@ -6,7 +6,7 @@ import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.tree.WorldGenMangrove;
import biomesoplenty.worldgen.tree.WorldGenMangrove2;
@ -48,7 +48,7 @@ public class BiomeGenMangrove extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 12, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 12, 2);
}
}
}

View file

@ -8,7 +8,7 @@ import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
public class BiomeGenMarsh extends BiomeGenBase implements IWCFog
{
@ -54,7 +54,7 @@ public class BiomeGenMarsh extends BiomeGenBase implements IWCFog
if (var100 == Block.stone.blockID)
{
par1World.setBlock(var77, var88, var99, Blocks.amethystOre.get().blockID, 12, 2);
par1World.setBlock(var77, var88, var99, BOPBlocks.amethystOre.get().blockID, 12, 2);
}
}
}

View file

@ -10,7 +10,7 @@ import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenShrub;
import net.minecraft.world.gen.feature.WorldGenTaiga2;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
public class BiomeGenMeadow extends BiomeGenBase
{
@ -54,7 +54,7 @@ public class BiomeGenMeadow extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 4, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 4, 2);
}
}
}

View file

@ -7,7 +7,7 @@ import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenTaiga2;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
public class BiomeGenMeadowForest extends BiomeGenBase
{
@ -47,7 +47,7 @@ public class BiomeGenMeadowForest extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 4, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 4, 2);
}
}
}

View file

@ -9,7 +9,7 @@ import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMisc;
public class BiomeGenMesa extends BiomeGenBase implements IWCFog
@ -21,8 +21,8 @@ public class BiomeGenMesa extends BiomeGenBase implements IWCFog
{
super(par1);
spawnableCreatureList.clear();
topBlock = (byte)Blocks.redRock.get().blockID;
fillerBlock = (byte)Blocks.redRock.get().blockID;
topBlock = (byte)BOPBlocks.redRock.get().blockID;
fillerBlock = (byte)BOPBlocks.redRock.get().blockID;
theBiomeDecorator = new BiomeDecoratorBOP(this);
customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
customBiomeDecorator.treesPerChunk = -999;
@ -49,7 +49,7 @@ public class BiomeGenMesa extends BiomeGenBase implements IWCFog
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 2, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 2, 2);
}
}
}

View file

@ -8,7 +8,7 @@ import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMisc;
public class BiomeGenMoor extends BiomeGenBase
@ -58,7 +58,7 @@ public class BiomeGenMoor extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return (par1Random.nextInt(4) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : (par1Random.nextInt(3) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 1)));
return (par1Random.nextInt(4) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : (par1Random.nextInt(3) == 0 ? new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2) : new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1)));
}
@Override

View file

@ -10,7 +10,7 @@ import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMain;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.worldgen.tree.WorldGenJacaranda;
@ -72,7 +72,7 @@ public class BiomeGenMysticGrove extends BiomeGenBase implements IWCFog
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return (par1Random.nextInt(5) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 1) : (par1Random.nextInt(3) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Block.tallGrass.blockID, 1)));
return (par1Random.nextInt(5) == 0 ? new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1) : (par1Random.nextInt(3) == 0 ? new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Block.tallGrass.blockID, 1)));
}
/**

View file

@ -10,7 +10,7 @@ import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMain;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.worldgen.tree.WorldGenJacaranda;
@ -72,7 +72,7 @@ public class BiomeGenMysticGroveThin extends BiomeGenBase implements IWCFog
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return (par1Random.nextInt(5) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 1) : (par1Random.nextInt(3) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Block.tallGrass.blockID, 1)));
return (par1Random.nextInt(5) == 0 ? new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1) : (par1Random.nextInt(3) == 0 ? new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Block.tallGrass.blockID, 1)));
}
/**

View file

@ -6,7 +6,7 @@ import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.tree.WorldGenPalmTree1;
public class BiomeGenOasis extends BiomeGenBase
@ -53,7 +53,7 @@ public class BiomeGenOasis extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 6, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 6, 2);
}
}
}

View file

@ -12,7 +12,7 @@ import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.worldgen.tree.WorldGenOminous1;
import biomesoplenty.worldgen.tree.WorldGenOminous3;
@ -67,7 +67,7 @@ public class BiomeGenOminousWoodsThick extends BiomeGenBase implements IWCFog
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(6) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 1) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 2);
return par1Random.nextInt(6) == 0 ? new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1) : new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2);
}
/**

View file

@ -8,7 +8,7 @@ import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.tree.WorldGenApple;
public class BiomeGenOrchard extends BiomeGenBase
@ -53,7 +53,7 @@ public class BiomeGenOrchard extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 4, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 4, 2);
}
}
}

View file

@ -5,7 +5,7 @@ import java.util.Random;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.worldgen.tree.WorldGenOriginTree;
@ -18,7 +18,7 @@ public class BiomeGenOriginValley extends BiomeGenBase
super(par1);
theBiomeDecorator = new BiomeDecoratorBOP(this);
customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
topBlock = (byte)Blocks.originGrass.get().blockID;
topBlock = (byte)BOPBlocks.originGrass.get().blockID;
customBiomeDecorator.treesPerChunk = 4;
customBiomeDecorator.grassPerChunk = -999;
customBiomeDecorator.generatePumpkins = false;

View file

@ -6,7 +6,7 @@ import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.WorldGenOutbackShrub;
import biomesoplenty.worldgen.tree.WorldGenOutbackTree;
@ -20,8 +20,8 @@ public class BiomeGenOutback extends BiomeGenBase
spawnableCreatureList.clear();
theBiomeDecorator = new BiomeDecoratorBOP(this);
customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
topBlock = (byte)Blocks.hardSand.get().blockID;
fillerBlock = (byte)Blocks.hardSand.get().blockID;
topBlock = (byte)BOPBlocks.hardSand.get().blockID;
fillerBlock = (byte)BOPBlocks.hardSand.get().blockID;
customBiomeDecorator.treesPerChunk = 3;
customBiomeDecorator.flowersPerChunk = -999;
customBiomeDecorator.outbackPerChunk = 10;
@ -48,7 +48,7 @@ public class BiomeGenOutback extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 2, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 2, 2);
}
}
}

View file

@ -7,7 +7,7 @@ import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.WorldGenIvy;
import biomesoplenty.worldgen.tree.WorldGenLargeTree;
import biomesoplenty.worldgen.tree.WorldGenOvergrownTree;
@ -47,7 +47,7 @@ public class BiomeGenOvergrownGreens extends BiomeGenBase
if (var100 == Block.stone.blockID)
{
par1World.setBlock(var77, var88, var99, Blocks.amethystOre.get().blockID, 4, 2);
par1World.setBlock(var77, var88, var99, BOPBlocks.amethystOre.get().blockID, 4, 2);
}
}

View file

@ -6,7 +6,7 @@ import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.WorldGenBOPTallGrass;
public class BiomeGenPasture extends BiomeGenBase
@ -40,7 +40,7 @@ public class BiomeGenPasture extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 4, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 4, 2);
}
}
}
@ -51,7 +51,7 @@ public class BiomeGenPasture extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return new WorldGenBOPTallGrass(Blocks.plants.get().blockID, 6);
return new WorldGenBOPTallGrass(BOPBlocks.plants.get().blockID, 6);
}
/**

View file

@ -7,7 +7,7 @@ import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.WorldGenBOPTallGrass;
public class BiomeGenPastureMeadow extends BiomeGenBase
@ -43,7 +43,7 @@ public class BiomeGenPastureMeadow extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 4, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 4, 2);
}
}
}
@ -54,7 +54,7 @@ public class BiomeGenPastureMeadow extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(8) == 0 ? new WorldGenTallGrass(Blocks.plants.get().blockID, 6) : new WorldGenBOPTallGrass(Block.tallGrass.blockID, 1);
return par1Random.nextInt(8) == 0 ? new WorldGenTallGrass(BOPBlocks.plants.get().blockID, 6) : new WorldGenBOPTallGrass(Block.tallGrass.blockID, 1);
}
/**

View file

@ -7,7 +7,7 @@ import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.WorldGenBOPTallGrass;
public class BiomeGenPastureThin extends BiomeGenBase
@ -43,7 +43,7 @@ public class BiomeGenPastureThin extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 4, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 4, 2);
}
}
}
@ -54,7 +54,7 @@ public class BiomeGenPastureThin extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(3) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : new WorldGenBOPTallGrass(Blocks.plants.get().blockID, 6);
return par1Random.nextInt(3) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : new WorldGenBOPTallGrass(BOPBlocks.plants.get().blockID, 6);
}
/**

View file

@ -5,7 +5,7 @@ import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
public class BiomeGenPolar extends BiomeGenBase
{
@ -41,7 +41,7 @@ public class BiomeGenPolar extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 8, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 8, 2);
}
}
}

View file

@ -9,7 +9,7 @@ import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.WorldGenPrairie;
public class BiomeGenPrairie extends BiomeGenBase
@ -50,7 +50,7 @@ public class BiomeGenPrairie extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 4, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 4, 2);
}
}
}
@ -70,7 +70,7 @@ public class BiomeGenPrairie extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return (par1Random.nextInt(5) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 1) : (par1Random.nextInt(3) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Block.tallGrass.blockID, 1)));
return (par1Random.nextInt(5) == 0 ? new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1) : (par1Random.nextInt(3) == 0 ? new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Block.tallGrass.blockID, 1)));
}
/**

View file

@ -8,7 +8,7 @@ import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenerator;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.worldgen.tree.WorldGenDeadTree;
@ -21,8 +21,8 @@ public class BiomeGenQuagmire extends BiomeGenBase implements IWCFog
super(par1);
spawnableCreatureList.clear();
spawnableWaterCreatureList.clear();
topBlock = (byte)Blocks.mud.get().blockID;
fillerBlock = (byte)Blocks.mud.get().blockID;
topBlock = (byte)BOPBlocks.mud.get().blockID;
fillerBlock = (byte)BOPBlocks.mud.get().blockID;
theBiomeDecorator = new BiomeDecoratorBOP(this);
customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
customBiomeDecorator.treesPerChunk = 0;
@ -54,7 +54,7 @@ public class BiomeGenQuagmire extends BiomeGenBase implements IWCFog
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 10, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 10, 2);
}
}
}

View file

@ -9,7 +9,7 @@ import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.entities.EntityJungleSpider;
import biomesoplenty.worldgen.tree.WorldGenRainforestTree1;
@ -54,7 +54,7 @@ public class BiomeGenRainforest extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 6, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 6, 2);
}
}
}

View file

@ -10,7 +10,7 @@ import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenShrub;
import net.minecraft.world.gen.feature.WorldGenerator;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.entities.EntityJungleSpider;
import biomesoplenty.worldgen.tree.WorldGenMassiveTree;
@ -62,7 +62,7 @@ public class BiomeGenSacredSprings extends BiomeGenBase implements IWCFog
if (var100 == Block.stone.blockID)
{
par1World.setBlock(var77, var88, var99,
Blocks.amethystOre.get().blockID, 12, 2);
BOPBlocks.amethystOre.get().blockID, 12, 2);
}
}

View file

@ -8,7 +8,7 @@ import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenShrub;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.tree.WorldGenAcacia;
public class BiomeGenSavanna extends BiomeGenBase
@ -48,7 +48,7 @@ public class BiomeGenSavanna extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 2, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 2, 2);
}
}
}
@ -68,6 +68,6 @@ public class BiomeGenSavanna extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(4) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 1);
return par1Random.nextInt(4) == 0 ? new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2) : new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1);
}
}

View file

@ -8,7 +8,7 @@ import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenShrub;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.tree.WorldGenAcacia;
public class BiomeGenSavannaPlateau extends BiomeGenBase
@ -47,7 +47,7 @@ public class BiomeGenSavannaPlateau extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 2, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 2, 2);
}
}
}
@ -67,6 +67,6 @@ public class BiomeGenSavannaPlateau extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(4) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 1);
return par1Random.nextInt(4) == 0 ? new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2) : new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1);
}
}

View file

@ -8,7 +8,7 @@ import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenShrub;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.WorldGenScrubland;
public class BiomeGenScrubland extends BiomeGenBase
@ -46,7 +46,7 @@ public class BiomeGenScrubland extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 2, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 2, 2);
}
}
}

View file

@ -10,7 +10,7 @@ import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.tree.WorldGenAutumn;
import biomesoplenty.worldgen.tree.WorldGenAutumn2;
import biomesoplenty.worldgen.tree.WorldGenAutumn2Big;
@ -46,8 +46,8 @@ public class BiomeGenSeasonalForest extends BiomeGenBase implements IWCFog
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(2) == 0 ? new WorldGenTallGrass(
Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(
Blocks.foliage.get().blockID, 1);
BOPBlocks.foliage.get().blockID, 2) : new WorldGenTallGrass(
BOPBlocks.foliage.get().blockID, 1);
}
/**

View file

@ -10,7 +10,7 @@ import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.tree.WorldGenAutumn;
import biomesoplenty.worldgen.tree.WorldGenAutumn2;
import biomesoplenty.worldgen.tree.WorldGenDeadTree2;
@ -46,8 +46,8 @@ public class BiomeGenSeasonalSpruceForest extends BiomeGenBase implements IWCFog
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(2) == 0 ? new WorldGenTallGrass(
Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(
Blocks.foliage.get().blockID, 1);
BOPBlocks.foliage.get().blockID, 2) : new WorldGenTallGrass(
BOPBlocks.foliage.get().blockID, 1);
}
/**

View file

@ -10,7 +10,7 @@ import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenShrub;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
public class BiomeGenShrubland extends BiomeGenBase
{
@ -47,7 +47,7 @@ public class BiomeGenShrubland extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 4, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 4, 2);
}
}
}
@ -67,6 +67,6 @@ public class BiomeGenShrubland extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return new WorldGenTallGrass(Blocks.foliage.get().blockID, 1);
return new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1);
}
}

View file

@ -10,7 +10,7 @@ import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenShrub;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
public class BiomeGenShrublandForest extends BiomeGenBase
{
@ -47,7 +47,7 @@ public class BiomeGenShrublandForest extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 4, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 4, 2);
}
}
}
@ -67,6 +67,6 @@ public class BiomeGenShrublandForest extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return new WorldGenTallGrass(Blocks.foliage.get().blockID, 1);
return new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1);
}
}

View file

@ -11,7 +11,7 @@ import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.worldgen.WorldGenCobwebNest;
import biomesoplenty.worldgen.tree.WorldGenBirchWillow;
@ -83,7 +83,7 @@ public class BiomeGenSilkglades extends BiomeGenBase implements IWCFog
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 10, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 10, 2);
}
}
}

View file

@ -11,7 +11,7 @@ import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.worldgen.WorldGenBog1;
import biomesoplenty.worldgen.WorldGenBog2;
@ -62,7 +62,7 @@ public class BiomeGenSludgepit extends BiomeGenBase implements IWCFog
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 10, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 10, 2);
}
}
}
@ -82,7 +82,7 @@ public class BiomeGenSludgepit extends BiomeGenBase implements IWCFog
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(9) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 0) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 2);
return par1Random.nextInt(9) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 0) : new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2);
}
/**

View file

@ -9,7 +9,7 @@ import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
public class BiomeGenSteppe extends BiomeGenBase
{
@ -49,7 +49,7 @@ public class BiomeGenSteppe extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 2, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 2, 2);
}
}
}
@ -60,7 +60,7 @@ public class BiomeGenSteppe extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return new WorldGenTallGrass(Blocks.foliage.get().blockID, 1);
return new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1);
}
/**

View file

@ -10,7 +10,7 @@ import net.minecraft.world.gen.feature.WorldGenShrub;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.worldgen.WorldGenMoss;
import biomesoplenty.worldgen.tree.WorldGenSequoia;
@ -58,7 +58,7 @@ public class BiomeGenTemperateRainforest extends BiomeGenBase implements IWCFog
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return (par1Random.nextInt(6) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : (par1Random.nextInt(2) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 2) : (par1Random.nextInt(4) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 1))));
return (par1Random.nextInt(6) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : (par1Random.nextInt(2) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 2) : (par1Random.nextInt(4) == 0 ? new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2) : new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1))));
}
@Override

View file

@ -7,7 +7,7 @@ import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.WorldGenChaparral2;
import biomesoplenty.worldgen.WorldGenChaparral3;
import biomesoplenty.worldgen.tree.WorldGenDeciduous2;
@ -46,7 +46,7 @@ public class BiomeGenTimber extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(5) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 1);
return par1Random.nextInt(5) == 0 ? new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2) : new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1);
}
@Override

View file

@ -7,7 +7,7 @@ import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.WorldGenChaparral2;
import biomesoplenty.worldgen.WorldGenChaparral3;
import biomesoplenty.worldgen.tree.WorldGenDeciduous2;
@ -46,7 +46,7 @@ public class BiomeGenTimberThin extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(5) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 1);
return par1Random.nextInt(5) == 0 ? new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2) : new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1);
}
@Override

View file

@ -11,7 +11,7 @@ import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenTrees;
import net.minecraft.world.gen.feature.WorldGenerator;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.entities.EntityJungleSpider;
import biomesoplenty.worldgen.tree.WorldGenRainforest1;
@ -66,7 +66,7 @@ public class BiomeGenTropicalRainforest extends BiomeGenBase implements IWCFog
var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9,
Blocks.amethystOre.get().blockID, 6, 2);
BOPBlocks.amethystOre.get().blockID, 6, 2);
}
}
}

View file

@ -10,7 +10,7 @@ import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenShrub;
import net.minecraft.world.gen.feature.WorldGenerator;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.entities.EntityJungleSpider;
import biomesoplenty.worldgen.WorldGenTropicsShrub;
@ -62,7 +62,7 @@ public class BiomeGenTropics extends BiomeGenBase implements IWCFog
var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9,
Blocks.amethystOre.get().blockID, 6, 2);
BOPBlocks.amethystOre.get().blockID, 6, 2);
}
}
}

View file

@ -8,7 +8,7 @@ import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenShrub;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.WorldGenTundra1;
public class BiomeGenTundra extends BiomeGenBase
@ -49,7 +49,7 @@ public class BiomeGenTundra extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 8, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 8, 2);
}
}
}
@ -69,7 +69,7 @@ public class BiomeGenTundra extends BiomeGenBase
@Override
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(4) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 1);
return par1Random.nextInt(4) == 0 ? new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 2) : new WorldGenTallGrass(BOPBlocks.foliage.get().blockID, 1);
}
/**

View file

@ -5,7 +5,7 @@ import java.util.Random;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.worldgen.WorldGenVolcano;
@ -17,8 +17,8 @@ public class BiomeGenVolcano extends BiomeGenBase
{
super(par1);
spawnableCreatureList.clear();
topBlock = (byte)Blocks.ashStone.get().blockID;
fillerBlock = (byte)Blocks.ashStone.get().blockID;
topBlock = (byte)BOPBlocks.ashStone.get().blockID;
fillerBlock = (byte)BOPBlocks.ashStone.get().blockID;
theBiomeDecorator = new BiomeDecoratorBOP(this);
customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
customBiomeDecorator.treesPerChunk = 0;

View file

@ -6,7 +6,7 @@ import java.util.Random;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenerator;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.worldgen.WorldGenWasteland;
import biomesoplenty.worldgen.WorldGenWasteland2;
@ -21,8 +21,8 @@ public class BiomeGenWasteland extends BiomeGenBase implements IWCFog
public BiomeGenWasteland(int par1)
{
super(par1);
topBlock = (byte) Blocks.driedDirt.get().blockID;
fillerBlock = (byte) Blocks.driedDirt.get().blockID;
topBlock = (byte) BOPBlocks.driedDirt.get().blockID;
fillerBlock = (byte) BOPBlocks.driedDirt.get().blockID;
theBiomeDecorator = new BiomeDecoratorBOP(this);
customBiomeDecorator = (BiomeDecoratorBOP) theBiomeDecorator;
customBiomeDecorator.treesPerChunk = 0;

View file

@ -10,7 +10,7 @@ import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.worldgen.WorldGenMoss;
import biomesoplenty.worldgen.tree.WorldGenTaiga5;
import biomesoplenty.worldgen.tree.WorldGenWillow;
@ -82,7 +82,7 @@ public class BiomeGenWetland extends BiomeGenBase implements IWCFog
if (var100 == Block.stone.blockID)
{
par1World.setBlock(var77, var88, var99, Blocks.amethystOre.get().blockID, 10, 2);
par1World.setBlock(var77, var88, var99, BOPBlocks.amethystOre.get().blockID, 10, 2);
}
}

View file

@ -6,7 +6,7 @@ import net.minecraft.entity.monster.EntityMagmaCube;
import net.minecraft.entity.monster.EntityPigZombie;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.biomes.BiomeDecoratorBOP;
public class BiomeGenNetherBlood extends BiomeGenBase
@ -18,8 +18,8 @@ public class BiomeGenNetherBlood extends BiomeGenBase
super(par1);
theBiomeDecorator = new BiomeDecoratorBOP(this);
customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
topBlock = (byte)Blocks.flesh.get().blockID;
fillerBlock = (byte)Blocks.flesh.get().blockID;
topBlock = (byte)BOPBlocks.flesh.get().blockID;
fillerBlock = (byte)BOPBlocks.flesh.get().blockID;
customBiomeDecorator.gravesPerChunk = 1;
customBiomeDecorator.waspHivesPerChunk = 1;
customBiomeDecorator.generateUndergroundLakes = false;

View file

@ -11,7 +11,7 @@ import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenFire;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.biomes.BiomeDecoratorBOP;
import biomesoplenty.worldgen.WorldGenLavaSpring;
@ -25,8 +25,8 @@ public class BiomeGenNetherLava extends BiomeGenBase
super(par1);
theBiomeDecorator = new BiomeDecoratorBOP(this);
customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
topBlock = (byte)Blocks.ash.get().blockID;
fillerBlock = (byte)Blocks.ash.get().blockID;
topBlock = (byte)BOPBlocks.ash.get().blockID;
fillerBlock = (byte)BOPBlocks.ash.get().blockID;
customBiomeDecorator.grassPerChunk = 8;
customBiomeDecorator.netherLavaPerChunk = 20;
customBiomeDecorator.smolderingGrassPerChunk = 5;

View file

@ -5,7 +5,7 @@ import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.biomes.BiomeDecoratorBOP;
public class BiomeGenOceanAbyss extends BiomeGenBase
@ -36,7 +36,7 @@ public class BiomeGenOceanAbyss extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 12, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 12, 2);
}
}
}

View file

@ -5,7 +5,7 @@ import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.biomes.BiomeDecoratorBOP;
public class BiomeGenOceanCoral extends BiomeGenBase
@ -39,7 +39,7 @@ public class BiomeGenOceanCoral extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 12, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 12, 2);
}
}
}

View file

@ -5,7 +5,7 @@ import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.biomes.BiomeDecoratorBOP;
public class BiomeGenOceanKelp extends BiomeGenBase
@ -39,7 +39,7 @@ public class BiomeGenOceanKelp extends BiomeGenBase
Block block = Block.blocksList[var10];
if (block != null && block.isGenMineableReplaceable(par1World, var7, var8, var9, Block.stone.blockID))
{
par1World.setBlock(var7, var8, var9, Blocks.amethystOre.get().blockID, 12, 2);
par1World.setBlock(var7, var8, var9, BOPBlocks.amethystOre.get().blockID, 12, 2);
}
}
}

View file

@ -8,7 +8,7 @@ import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.biomes.BiomeDecoratorBOP;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.worldgen.WorldGenPromisedShrub;
@ -26,8 +26,8 @@ public class BiomeGenPromisedLandForest extends BiomeGenBase implements IWCFog
super(par1);
theBiomeDecorator = new BiomeDecoratorBOP(this);
customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
topBlock = (byte)Blocks.holyGrass.get().blockID;
fillerBlock = (byte)Blocks.holyDirt.get().blockID;
topBlock = (byte)BOPBlocks.holyGrass.get().blockID;
fillerBlock = (byte)BOPBlocks.holyDirt.get().blockID;
customBiomeDecorator.treesPerChunk = 10;
customBiomeDecorator.grassPerChunk = -999;
customBiomeDecorator.holyTallGrassPerChunk = 100;

View file

@ -8,7 +8,7 @@ import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.biomes.BiomeDecoratorBOP;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.worldgen.WorldGenPromisedBush;
@ -24,8 +24,8 @@ public class BiomeGenPromisedLandPlains extends BiomeGenBase implements IWCFog
super(par1);
theBiomeDecorator = new BiomeDecoratorBOP(this);
customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
topBlock = (byte)Blocks.holyGrass.get().blockID;
fillerBlock = (byte)Blocks.holyDirt.get().blockID;
topBlock = (byte)BOPBlocks.holyGrass.get().blockID;
fillerBlock = (byte)BOPBlocks.holyDirt.get().blockID;
customBiomeDecorator.treesPerChunk = -999;
customBiomeDecorator.grassPerChunk = -999;
customBiomeDecorator.holyTallGrassPerChunk = 999;

View file

@ -9,7 +9,7 @@ import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenShrub;
import net.minecraft.world.gen.feature.WorldGenerator;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.biomes.BiomeDecoratorBOP;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.worldgen.WorldGenPromisedShrub;
@ -25,8 +25,8 @@ public class BiomeGenPromisedLandShrub extends BiomeGenBase implements IWCFog
super(par1);
theBiomeDecorator = new BiomeDecoratorBOP(this);
customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
topBlock = (byte)Blocks.holyGrass.get().blockID;
fillerBlock = (byte)Blocks.holyDirt.get().blockID;
topBlock = (byte)BOPBlocks.holyGrass.get().blockID;
fillerBlock = (byte)BOPBlocks.holyDirt.get().blockID;
customBiomeDecorator.treesPerChunk = 40;
customBiomeDecorator.grassPerChunk = -999;
customBiomeDecorator.holyTallGrassPerChunk = 50;

View file

@ -8,7 +8,7 @@ import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.biomes.BiomeDecoratorBOP;
import biomesoplenty.configuration.BOPConfigurationMisc;
import biomesoplenty.worldgen.WorldGenWaterSpring;
@ -25,8 +25,8 @@ public class BiomeGenPromisedLandSwamp extends BiomeGenBase implements IWCFog
super(par1);
theBiomeDecorator = new BiomeDecoratorBOP(this);
customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
topBlock = (byte)Blocks.holyGrass.get().blockID;
fillerBlock = (byte)Blocks.holyDirt.get().blockID;
topBlock = (byte)BOPBlocks.holyGrass.get().blockID;
fillerBlock = (byte)BOPBlocks.holyDirt.get().blockID;
customBiomeDecorator.treesPerChunk = 12;
customBiomeDecorator.grassPerChunk = -999;
customBiomeDecorator.holyTallGrassPerChunk = 100;

View file

@ -8,7 +8,7 @@ import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenDesertWells;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.biomes.BiomeDecoratorBOP;
import biomesoplenty.configuration.BOPConfigurationMisc;
@ -50,7 +50,7 @@ public class BiomeGenDesertNew extends BiomeGenBase implements IWCFog
if (var100 == Block.stone.blockID)
{
par1World.setBlock(var77, var88, var99, Blocks.amethystOre.get().blockID, 2, 2);
par1World.setBlock(var77, var88, var99, BOPBlocks.amethystOre.get().blockID, 2, 2);
}
}

View file

@ -15,7 +15,7 @@ import net.minecraft.world.gen.feature.WorldGenTrees;
import net.minecraft.world.gen.feature.WorldGenVines;
import net.minecraft.world.gen.feature.WorldGenerator;
import worldcore.interfaces.IWCFog;
import biomesoplenty.api.Blocks;
import biomesoplenty.api.BOPBlocks;
import biomesoplenty.biomes.BiomeDecoratorBOP;
import biomesoplenty.entities.EntityJungleSpider;
@ -80,7 +80,7 @@ public class BiomeGenJungleNew extends BiomeGenBase implements IWCFog
if (var100 == Block.stone.blockID)
{
par1World.setBlock(var77, var88, var99, Blocks.amethystOre.get().blockID, 6, 2);
par1World.setBlock(var77, var88, var99, BOPBlocks.amethystOre.get().blockID, 6, 2);
}
}

Some files were not shown because too many files have changed in this diff Show more