Entity API, ditched ModLoader naming scheme for the Biomes O Plenty main class
This commit is contained in:
parent
1e75cdb130
commit
eb151610f3
149 changed files with 378 additions and 338 deletions
|
@ -20,6 +20,7 @@ import net.minecraftforge.common.ChestGenHooks;
|
|||
import net.minecraftforge.common.DimensionManager;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
import biomesoplenty.api.Biomes;
|
||||
import biomesoplenty.api.Entities;
|
||||
import biomesoplenty.configuration.BOPBiomes;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
import biomesoplenty.configuration.BOPConfiguration;
|
||||
|
@ -50,11 +51,11 @@ import cpw.mods.fml.common.registry.LanguageRegistry;
|
|||
|
||||
@Mod(modid="BiomesOPlenty", name="Biomes O' Plenty", version="0.5.1")
|
||||
@NetworkMod(clientSideRequired=true, serverSideRequired=false)
|
||||
public class mod_BiomesOPlenty
|
||||
public class BiomesOPlenty
|
||||
{
|
||||
// The instance of your mod that Forge uses.
|
||||
@Instance("BiomesOPlenty")
|
||||
public static mod_BiomesOPlenty instance;
|
||||
public static BiomesOPlenty instance;
|
||||
|
||||
// Says where the client and server 'proxy' code is loaded.
|
||||
@SidedProxy(clientSide="biomesoplenty.ClientProxy", serverSide="biomesoplenty.CommonProxy")
|
37
src/minecraft/biomesoplenty/api/Entities.java
Normal file
37
src/minecraft/biomesoplenty/api/Entities.java
Normal file
|
@ -0,0 +1,37 @@
|
|||
package biomesoplenty.api;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.world.biome.BiomeGenBase;
|
||||
|
||||
import com.google.common.base.Optional;
|
||||
|
||||
import cpw.mods.fml.common.Loader;
|
||||
|
||||
public class Entities {
|
||||
|
||||
public static Class Mudball = getClass("biomesoplenty.items.projectiles.EntityMudball");
|
||||
public static Class JungleSpider = getClass("biomesoplenty.mobs.EntityJungleSpider");
|
||||
public static Class Rosester = getClass("biomesoplenty.mobs.EntityRosester");
|
||||
|
||||
public static Class getClass(String inputstring)
|
||||
{
|
||||
Class foundclass = null;
|
||||
try
|
||||
{
|
||||
foundclass = Class.forName(inputstring);
|
||||
}
|
||||
catch (ClassNotFoundException e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
if (foundclass != null)
|
||||
{
|
||||
return foundclass;
|
||||
}
|
||||
else
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -37,7 +37,7 @@ public class BlockAcaciaLeaves extends BlockLeavesBase implements IShearable
|
|||
super(par1, Material.leaves, false);
|
||||
this.setBurnProperties(this.blockID, 30, 60);
|
||||
this.setTickRandomly(true);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -23,7 +23,7 @@ public class BlockAcaciaLog extends Block
|
|||
{
|
||||
super(par1, Material.wood);
|
||||
this.setBurnProperties(this.blockID, 5, 5);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package biomesoplenty.blocks;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
@ -15,7 +15,7 @@ public class BlockAcaciaPlank extends Block
|
|||
{
|
||||
super(par1, Material.wood);
|
||||
this.setBurnProperties(this.blockID, 5, 20);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.worldgen.WorldGenAcacia;
|
||||
|
||||
import net.minecraft.block.BlockSapling;
|
||||
|
@ -24,7 +24,7 @@ public class BlockAcaciaSapling extends BlockSapling
|
|||
{
|
||||
super(par1);
|
||||
float var3 = 0.4F;
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setBlockBounds(0.5F - var3, 0.0F, 0.5F - var3, 0.5F + var3, var3 * 2.0F, 0.5F + var3);
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.BlockHalfSlab;
|
||||
|
@ -23,7 +23,7 @@ public class BlockAcaciaSlab extends BlockHalfSlab
|
|||
{
|
||||
super(par1, par2, Material.wood);
|
||||
this.setBurnProperties(this.blockID, 5, 20);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.useNeighborBrightness[blockID] = true;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package biomesoplenty.blocks;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockStairs;
|
||||
|
@ -17,7 +17,7 @@ public class BlockAcaciaStairs extends BlockStairs
|
|||
this.modelBlock = par2Block;
|
||||
this.setBurnProperties(this.blockID, 5, 20);
|
||||
this.setLightOpacity(0);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -15,7 +15,7 @@ public class BlockAmethystBlock extends Block
|
|||
public BlockAmethystBlock(int par1)
|
||||
{
|
||||
super(par1, Material.iron);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPItems;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -17,7 +17,7 @@ public class BlockAmethystOre extends Block
|
|||
public BlockAmethystOre(int par1)
|
||||
{
|
||||
super(par1, Material.rock);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -37,7 +37,7 @@ public class BlockAppleLeaves extends BlockLeavesBase implements IShearable
|
|||
super(par1, Material.leaves, false);
|
||||
this.setTickRandomly(true);
|
||||
this.setBurnProperties(this.blockID, 30, 60);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -37,7 +37,7 @@ public class BlockAppleLeavesFruitless extends BlockLeavesBase implements IShear
|
|||
super(par1, Material.leaves, false);
|
||||
this.setBurnProperties(this.blockID, 30, 60);
|
||||
this.setTickRandomly(true);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.worldgen.WorldGenApple;
|
||||
|
||||
import net.minecraft.block.BlockSapling;
|
||||
|
@ -25,7 +25,7 @@ public class BlockAppleSapling extends BlockSapling
|
|||
super(par1);
|
||||
float var3 = 0.4F;
|
||||
this.setBlockBounds(0.5F - var3, 0.0F, 0.5F - var3, 0.5F + var3, var3 * 2.0F, 0.5F + var3);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPItems;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -17,7 +17,7 @@ public class BlockAsh extends Block
|
|||
public BlockAsh(int par1)
|
||||
{
|
||||
super(par1, Material.sand);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package biomesoplenty.blocks;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
@ -13,7 +13,7 @@ public class BlockAshStone extends Block
|
|||
public BlockAshStone(int par1)
|
||||
{
|
||||
super(par1, Material.rock);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -36,7 +36,7 @@ public class BlockAutumnLeaves extends BlockLeavesBase implements IShearable
|
|||
super(par1, Material.leaves, false);
|
||||
this.setBurnProperties(this.blockID, 30, 60);
|
||||
this.setTickRandomly(true);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -4,7 +4,7 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.api.Blocks;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
@ -35,7 +35,7 @@ public class BlockBOPAppleLeaves extends BlockLeavesBase implements IShearable
|
|||
setHardness(0.2F);
|
||||
setLightOpacity(1);
|
||||
setStepSound(Block.soundGrassFootstep);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -15,7 +15,7 @@ import net.minecraft.world.ColorizerFoliage;
|
|||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.IShearable;
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.api.Blocks;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
@ -34,7 +34,7 @@ public class BlockBOPColorizedLeaves extends BlockLeavesBase implements IShearab
|
|||
setHardness(0.2F);
|
||||
setLightOpacity(1);
|
||||
setStepSound(Block.soundGrassFootstep);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -11,7 +11,7 @@ import net.minecraft.item.ItemStack;
|
|||
import net.minecraft.util.Icon;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.gen.feature.WorldGenerator;
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.worldgen.WorldGenAcacia;
|
||||
import biomesoplenty.worldgen.WorldGenAutumn;
|
||||
import biomesoplenty.worldgen.WorldGenAutumn2;
|
||||
|
@ -47,7 +47,7 @@ public class BlockBOPColorizedSapling extends BlockSapling
|
|||
super(par1);
|
||||
setHardness(0.0F);
|
||||
setStepSound(Block.soundGrassFootstep);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.blocks.renderers.FoliageRenderer;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -31,7 +31,7 @@ public class BlockBOPFlower extends BlockFlower
|
|||
this.setTickRandomly(true);
|
||||
float var4 = 0.2F;
|
||||
this.setBlockBounds(0.5F - var4, 0.0F, 0.5F - var4, 0.5F + var4, var4 * 3.0F, 0.5F + var4);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
public BlockBOPFlower(int blockID)
|
||||
|
|
|
@ -4,7 +4,7 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.blocks.renderers.FoliageRenderer;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -42,7 +42,7 @@ public class BlockBOPFoliage extends BlockFlower implements IShearable
|
|||
setBlockBounds(0.5F - f, 0.0F, 0.5F - f, 0.5F + f, 0.8F, 0.5F + f);
|
||||
setHardness(0.0F);
|
||||
setStepSound(Block.soundGrassFootstep);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPItems;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
@ -28,7 +28,7 @@ public class BlockBOPGeneric extends Block
|
|||
{
|
||||
super(id, material);
|
||||
this.type = type;
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
|
||||
switch (type)
|
||||
{
|
||||
|
|
|
@ -4,7 +4,7 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.api.Blocks;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
|
@ -36,7 +36,7 @@ public class BlockBOPLeaves extends BlockLeavesBase implements IShearable
|
|||
setHardness(0.2F);
|
||||
setLightOpacity(1);
|
||||
setStepSound(Block.soundGrassFootstep);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
@ -36,7 +36,7 @@ public class BlockBOPLog extends Block
|
|||
setHardness(2.0F);
|
||||
setResistance(5.0F);
|
||||
setStepSound(Block.soundWoodFootstep);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -4,7 +4,7 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.api.Blocks;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
@ -32,7 +32,7 @@ public class BlockBOPPetals extends BlockLeavesBase implements IShearable
|
|||
setHardness(0.2F);
|
||||
setLightOpacity(1);
|
||||
setStepSound(Block.soundGrassFootstep);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
@ -24,7 +24,7 @@ public class BlockBOPPlank extends Block
|
|||
super(blockID, Material.wood);
|
||||
setBurnProperties(this.blockID, 5, 20);
|
||||
setHardness(2.0F);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -17,7 +17,7 @@ import net.minecraft.util.Icon;
|
|||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.IShearable;
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.blocks.renderers.PlantsRenderer;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
|
@ -38,7 +38,7 @@ public class BlockBOPPlant extends BlockFlower implements IShearable
|
|||
setHardness(0.0F);
|
||||
setStepSound(Block.soundGrassFootstep);
|
||||
setBlockBounds(0.5F - var3, 0.0F, 0.5F - var3, 0.5F + var3, 0.8F, 0.5F + var3);
|
||||
setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -10,7 +10,7 @@ import net.minecraft.entity.Entity;
|
|||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.Icon;
|
||||
import net.minecraft.world.World;
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
|
@ -23,7 +23,7 @@ public class BlockBOPRedRock extends Block
|
|||
public BlockBOPRedRock(int par1)
|
||||
{
|
||||
super(par1, Material.rock);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
setStepSound(Block.soundStoneFootstep);
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import net.minecraft.item.ItemStack;
|
|||
import net.minecraft.util.Icon;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.gen.feature.WorldGenerator;
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.worldgen.WorldGenApple;
|
||||
import biomesoplenty.worldgen.WorldGenAutumn;
|
||||
import biomesoplenty.worldgen.WorldGenAutumn2;
|
||||
|
@ -42,7 +42,7 @@ public class BlockBOPSapling extends BlockSapling
|
|||
super(par1);
|
||||
setHardness(0.0F);
|
||||
setStepSound(Block.soundGrassFootstep);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockHalfSlab;
|
||||
|
@ -43,7 +43,7 @@ public class BlockBOPSlab extends BlockHalfSlab
|
|||
else if (material == Material.rock)
|
||||
setStepSound(Block.soundStoneFootstep);
|
||||
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
useNeighborBrightness[blockID] = true;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package biomesoplenty.blocks;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockStairs;
|
||||
|
@ -27,7 +27,7 @@ public class BlockBOPStairs extends BlockStairs
|
|||
category = cat;
|
||||
setBurnProperties(this.blockID, 5, 20);
|
||||
this.setLightOpacity(0);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -36,7 +36,7 @@ public class BlockBambooLeaves extends BlockLeavesBase implements IShearable
|
|||
super(par1, Material.leaves, false);
|
||||
this.setTickRandomly(true);
|
||||
this.setBurnProperties(this.blockID, 30, 60);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.worldgen.WorldGenBambooTree;
|
||||
import biomesoplenty.worldgen.WorldGenBambooTree2;
|
||||
import biomesoplenty.worldgen.WorldGenOminous1;
|
||||
|
@ -27,7 +27,7 @@ public class BlockBambooSapling extends BlockSapling
|
|||
super(par1);
|
||||
float var3 = 0.4F;
|
||||
this.setBlockBounds(0.5F - var3, 0.0F, 0.5F - var3, 0.5F + var3, var3 * 2.0F, 0.5F + var3);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -15,7 +15,7 @@ public class BlockBambooThatching extends Block
|
|||
public BlockBambooThatching(int par1)
|
||||
{
|
||||
super(par1, Material.wood);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
@ -19,7 +19,7 @@ public class BlockBlueFlower extends Block
|
|||
this.setTickRandomly(true);
|
||||
float var4 = 0.2F;
|
||||
this.setBlockBounds(0.5F - var4, 0.0F, 0.5F - var4, 0.5F + var4, var4 * 3.0F, 0.5F + var4);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
public BlockBlueFlower(int par1)
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -36,7 +36,7 @@ public class BlockBlueLeaves extends BlockLeavesBase implements IShearable
|
|||
super(par1, Material.leaves, false);
|
||||
this.setBurnProperties(this.blockID, 30, 60);
|
||||
this.setTickRandomly(true);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.worldgen.WorldGenDeadTree2;
|
||||
|
||||
import net.minecraft.block.BlockSapling;
|
||||
|
@ -25,7 +25,7 @@ public class BlockBrownSapling extends BlockSapling
|
|||
super(par1);
|
||||
float var3 = 0.4F;
|
||||
this.setBlockBounds(0.5F - var3, 0.0F, 0.5F - var3, 0.5F + var3, var3 * 2.0F, 0.5F + var3);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -23,7 +23,7 @@ public class BlockCherryLog extends Block
|
|||
{
|
||||
super(par1, Material.wood);
|
||||
this.setBurnProperties(this.blockID, 5, 5);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package biomesoplenty.blocks;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
@ -16,7 +16,7 @@ public class BlockCherryPlank extends Block
|
|||
{
|
||||
super(par1, Material.wood);
|
||||
this.setBurnProperties(this.blockID, 5, 20);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.BlockHalfSlab;
|
||||
|
@ -22,7 +22,7 @@ public class BlockCherrySlab extends BlockHalfSlab
|
|||
public BlockCherrySlab(int par1, boolean par2)
|
||||
{
|
||||
super(par1, par2, Material.wood);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setBurnProperties(this.blockID, 5, 20);
|
||||
this.useNeighborBrightness[blockID] = true;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package biomesoplenty.blocks;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockStairs;
|
||||
|
@ -18,7 +18,7 @@ public class BlockCherryStairs extends BlockStairs
|
|||
this.modelBlock = par2Block;
|
||||
this.setLightOpacity(0);
|
||||
this.setBurnProperties(this.blockID, 5, 20);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -15,7 +15,7 @@ public class BlockCragRock extends Block
|
|||
public BlockCragRock(int par1)
|
||||
{
|
||||
super(par1, Material.rock);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -36,7 +36,7 @@ public class BlockDarkLeaves extends BlockLeavesBase implements IShearable
|
|||
super(par1, Material.leaves, false);
|
||||
this.setBurnProperties(this.blockID, 30, 60);
|
||||
this.setTickRandomly(true);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -23,7 +23,7 @@ public class BlockDarkLog extends Block
|
|||
{
|
||||
super(par1, Material.wood);
|
||||
this.setBurnProperties(this.blockID, 5, 5);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package biomesoplenty.blocks;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
@ -16,7 +16,7 @@ public class BlockDarkPlank extends Block
|
|||
{
|
||||
super(par1, Material.wood);
|
||||
this.setBurnProperties(this.blockID, 5, 20);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.worldgen.WorldGenOminous1;
|
||||
import biomesoplenty.worldgen.WorldGenOminous2;
|
||||
|
||||
|
@ -26,7 +26,7 @@ public class BlockDarkSapling extends BlockSapling
|
|||
super(par1);
|
||||
float var3 = 0.4F;
|
||||
this.setBlockBounds(0.5F - var3, 0.0F, 0.5F - var3, 0.5F + var3, var3 * 2.0F, 0.5F + var3);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.BlockHalfSlab;
|
||||
|
@ -22,7 +22,7 @@ public class BlockDarkSlab extends BlockHalfSlab
|
|||
public BlockDarkSlab(int par1, boolean par2)
|
||||
{
|
||||
super(par1, par2, Material.wood);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setBurnProperties(this.blockID, 5, 20);
|
||||
this.useNeighborBrightness[blockID] = true;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package biomesoplenty.blocks;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockStairs;
|
||||
|
@ -18,7 +18,7 @@ public class BlockDarkStairs extends BlockStairs
|
|||
this.modelBlock = par2Block;
|
||||
this.setLightOpacity(0);
|
||||
this.setBurnProperties(this.blockID, 5, 20);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -27,7 +27,7 @@ public class BlockDeadGrass extends Block implements IShearable
|
|||
float var3 = 0.4F;
|
||||
this.setBurnProperties(this.blockID, 60, 100);
|
||||
this.setBlockBounds(0.5F - var3, 0.0F, 0.5F - var3, 0.5F + var3, 0.8F, 0.5F + var3);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -36,7 +36,7 @@ public class BlockDeadLeaves extends BlockLeavesBase implements IShearable
|
|||
super(par1, Material.leaves, false);
|
||||
this.setBurnProperties(this.blockID, 30, 60);
|
||||
this.setTickRandomly(true);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -23,7 +23,7 @@ public class BlockDeadLog extends Block
|
|||
{
|
||||
super(par1, Material.wood);
|
||||
this.setBurnProperties(this.blockID, 5, 5);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
@ -19,7 +19,7 @@ public class BlockDeathbloom extends Block
|
|||
this.setTickRandomly(true);
|
||||
float var4 = 0.2F;
|
||||
this.setBlockBounds(0.5F - var4, 0.0F, 0.5F - var4, 0.5F + var4, var4 * 3.0F, 0.5F + var4);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -25,7 +25,7 @@ public class BlockDesertGrass extends Block implements IShearable
|
|||
float var3 = 0.4F;
|
||||
this.setBurnProperties(this.blockID, 60, 100);
|
||||
this.setBlockBounds(0.5F - var3, 0.0F, 0.5F - var3, 0.5F + var3, 0.8F, 0.5F + var3);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
@ -19,7 +19,7 @@ public class BlockDesertSprouts extends Block
|
|||
this.setTickRandomly(true);
|
||||
float var3 = 0.4F;
|
||||
this.setBlockBounds(0.5F - var3, 0.0F, 0.5F - var3, 0.5F + var3, 0.8F, 0.5F + var3);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
@ -15,7 +15,7 @@ public class BlockDriedDirt extends Block
|
|||
public BlockDriedDirt(int par1)
|
||||
{
|
||||
super(par1, Material.rock);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
@ -20,7 +20,7 @@ public class BlockDuneGrass extends Block
|
|||
float var3 = 0.4F;
|
||||
this.setBurnProperties(this.blockID, 60, 100);
|
||||
this.setBlockBounds(0.5F - var3, 0.0F, 0.5F - var3, 0.5F + var3, 0.8F, 0.5F + var3);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
public BlockDuneGrass(int par1)
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -36,7 +36,7 @@ public class BlockFirLeaves extends BlockLeavesBase implements IShearable
|
|||
super(par1, Material.leaves, false);
|
||||
this.setBurnProperties(this.blockID, 30, 60);
|
||||
this.setTickRandomly(true);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -23,7 +23,7 @@ public class BlockFirLog extends Block
|
|||
{
|
||||
super(par1, Material.wood);
|
||||
this.setBurnProperties(this.blockID, 5, 5);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package biomesoplenty.blocks;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
@ -16,7 +16,7 @@ public class BlockFirPlank extends Block
|
|||
{
|
||||
super(par1, Material.wood);
|
||||
this.setBurnProperties(this.blockID, 5, 20);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.worldgen.WorldGenTaiga9;
|
||||
|
||||
import net.minecraft.block.BlockSapling;
|
||||
|
@ -25,7 +25,7 @@ public class BlockFirSapling extends BlockSapling
|
|||
super(par1);
|
||||
float var3 = 0.4F;
|
||||
this.setBlockBounds(0.5F - var3, 0.0F, 0.5F - var3, 0.5F + var3, var3 * 2.0F, 0.5F + var3);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.BlockHalfSlab;
|
||||
|
@ -22,7 +22,7 @@ public class BlockFirSlab extends BlockHalfSlab
|
|||
public BlockFirSlab(int par1, boolean par2)
|
||||
{
|
||||
super(par1, par2, Material.wood);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setBurnProperties(this.blockID, 5, 20);
|
||||
this.useNeighborBrightness[blockID] = true;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package biomesoplenty.blocks;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockStairs;
|
||||
|
@ -18,7 +18,7 @@ public class BlockFirStairs extends BlockStairs
|
|||
this.modelBlock = par2Block;
|
||||
this.setBurnProperties(this.blockID, 5, 20);
|
||||
this.setLightOpacity(0);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -27,7 +27,7 @@ public class BlockGiantFlowerRed extends BlockLeavesBase
|
|||
super(par1, Material.leaves, false);
|
||||
this.setTickRandomly(true);
|
||||
this.setBurnProperties(this.blockID, 5, 5);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -22,7 +22,7 @@ public class BlockGiantFlowerStem extends Block
|
|||
{
|
||||
super(par1, Material.wood);
|
||||
this.setBurnProperties(this.blockID, 5, 5);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -27,7 +27,7 @@ public class BlockGiantFlowerYellow extends BlockLeavesBase
|
|||
super(par1, Material.leaves, false);
|
||||
this.setTickRandomly(true);
|
||||
this.setBurnProperties(this.blockID, 5, 5);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -20,7 +20,7 @@ public class BlockGlowFlower extends Block
|
|||
this.setTickRandomly(true);
|
||||
float var4 = 0.2F;
|
||||
this.setBlockBounds(0.5F - var4, 0.0F, 0.5F - var4, 0.5F + var4, var4 * 3.0F, 0.5F + var4);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package biomesoplenty.blocks;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
@ -12,7 +12,7 @@ public class BlockHardDirt extends Block
|
|||
public BlockHardDirt(int par1)
|
||||
{
|
||||
super(par1, Material.rock);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package biomesoplenty.blocks;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
@ -12,7 +12,7 @@ public class BlockHardIce extends Block
|
|||
public BlockHardIce(int par1)
|
||||
{
|
||||
super(par1, Material.rock);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package biomesoplenty.blocks;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
@ -12,7 +12,7 @@ public class BlockHardSand extends Block
|
|||
public BlockHardSand(int par1)
|
||||
{
|
||||
super(par1, Material.sand);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -4,7 +4,7 @@ import static net.minecraftforge.common.ForgeDirection.UP;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -25,7 +25,7 @@ public class BlockHolyGrass extends Block
|
|||
{
|
||||
super(par1, Material.grass);
|
||||
this.setTickRandomly(true);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -36,7 +36,7 @@ public class BlockHolyLeaves extends BlockLeavesBase implements IShearable
|
|||
super(par1, Material.leaves, false);
|
||||
this.setTickRandomly(true);
|
||||
this.setBurnProperties(this.blockID, 30, 60);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -23,7 +23,7 @@ public class BlockHolyLog extends Block
|
|||
{
|
||||
super(par1, Material.wood);
|
||||
this.setBurnProperties(this.blockID, 5, 5);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package biomesoplenty.blocks;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
@ -16,7 +16,7 @@ public class BlockHolyPlank extends Block
|
|||
{
|
||||
super(par1, Material.wood);
|
||||
this.setBurnProperties(this.blockID, 5, 20);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
import biomesoplenty.worldgen.WorldGenPromisedTree;
|
||||
|
||||
|
@ -27,7 +27,7 @@ public class BlockHolySapling extends BlockSapling
|
|||
super(par1);
|
||||
float var3 = 0.4F;
|
||||
this.setBlockBounds(0.5F - var3, 0.0F, 0.5F - var3, 0.5F + var3, var3 * 2.0F, 0.5F + var3);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.BlockHalfSlab;
|
||||
|
@ -23,7 +23,7 @@ public class BlockHolySlab extends BlockHalfSlab
|
|||
{
|
||||
super(par1, par2, Material.wood);
|
||||
this.setBurnProperties(this.blockID, 5, 20);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.useNeighborBrightness[blockID] = true;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package biomesoplenty.blocks;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockStairs;
|
||||
|
@ -18,7 +18,7 @@ public class BlockHolyStairs extends BlockStairs
|
|||
this.modelBlock = par2Block;
|
||||
this.setLightOpacity(0);
|
||||
this.setBurnProperties(this.blockID, 5, 20);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -15,7 +15,7 @@ public class BlockHolyStone extends Block
|
|||
public BlockHolyStone(int par1)
|
||||
{
|
||||
super(par1, Material.rock);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -24,7 +24,7 @@ public class BlockHolyTallGrass extends Block implements IShearable
|
|||
float var3 = 0.4F;
|
||||
this.setBurnProperties(this.blockID, 60, 100);
|
||||
this.setBlockBounds(0.5F - var3, 0.0F, 0.5F - var3, 0.5F + var3, 0.8F, 0.5F + var3);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
@ -19,7 +19,7 @@ public class BlockHydrangea extends Block
|
|||
this.setTickRandomly(true);
|
||||
float var4 = 0.2F;
|
||||
this.setBlockBounds(0.5F - var4, 0.0F, 0.5F - var4, 0.5F + var4, var4 * 3.0F, 0.5F + var4);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
public BlockHydrangea(int par1)
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -22,7 +22,7 @@ public class BlockMagicLog extends Block
|
|||
public BlockMagicLog(int par1)
|
||||
{
|
||||
super(par1, Material.wood);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package biomesoplenty.blocks;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
@ -15,7 +15,7 @@ public class BlockMagicPlank extends Block
|
|||
public BlockMagicPlank(int par1)
|
||||
{
|
||||
super(par1, Material.wood);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
import biomesoplenty.worldgen.WorldGenMystic2;
|
||||
|
||||
|
@ -27,7 +27,7 @@ public class BlockMagicSapling extends BlockSapling
|
|||
super(par1);
|
||||
float var3 = 0.4F;
|
||||
this.setBlockBounds(0.5F - var3, 0.0F, 0.5F - var3, 0.5F + var3, var3 * 2.0F, 0.5F + var3);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.BlockHalfSlab;
|
||||
|
@ -22,7 +22,7 @@ public class BlockMagicSlab extends BlockHalfSlab
|
|||
public BlockMagicSlab(int par1, boolean par2)
|
||||
{
|
||||
super(par1, par2, Material.wood);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.useNeighborBrightness[blockID] = true;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package biomesoplenty.blocks;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockStairs;
|
||||
|
@ -17,7 +17,7 @@ public class BlockMagicStairs extends BlockStairs
|
|||
super(par1, par2Block, 0);
|
||||
this.modelBlock = par2Block;
|
||||
this.setLightOpacity(0);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -37,7 +37,7 @@ public class BlockMangroveLeaves extends BlockLeavesBase implements IShearable
|
|||
super(par1, Material.leaves, false);
|
||||
this.setTickRandomly(true);
|
||||
this.setBurnProperties(this.blockID, 30, 60);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -23,7 +23,7 @@ public class BlockMangroveLog extends Block
|
|||
{
|
||||
super(par1, Material.wood);
|
||||
this.setBurnProperties(this.blockID, 5, 5);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package biomesoplenty.blocks;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
@ -16,7 +16,7 @@ public class BlockMangrovePlank extends Block
|
|||
{
|
||||
super(par1, Material.wood);
|
||||
this.setBurnProperties(this.blockID, 5, 20);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.worldgen.WorldGenMangrove;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -26,7 +26,7 @@ public class BlockMangroveSapling extends BlockSapling
|
|||
super(par1);
|
||||
float var3 = 0.4F;
|
||||
this.setBlockBounds(0.5F - var3, 0.0F, 0.5F - var3, 0.5F + var3, var3 * 2.0F, 0.5F + var3);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.BlockHalfSlab;
|
||||
|
@ -23,7 +23,7 @@ public class BlockMangroveSlab extends BlockHalfSlab
|
|||
{
|
||||
super(par1, par2, Material.wood);
|
||||
this.setBurnProperties(this.blockID, 5, 20);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.useNeighborBrightness[blockID] = true;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package biomesoplenty.blocks;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockStairs;
|
||||
|
@ -18,7 +18,7 @@ public class BlockMangroveStairs extends BlockStairs
|
|||
this.modelBlock = par2Block;
|
||||
this.setLightOpacity(0);
|
||||
this.setBurnProperties(this.blockID, 5, 20);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPItems;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -17,7 +17,7 @@ public class BlockMud extends Block
|
|||
public BlockMud(int par1)
|
||||
{
|
||||
super(par1, Material.sand);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package biomesoplenty.blocks;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
@ -12,7 +12,7 @@ public class BlockMudBrick extends Block
|
|||
public BlockMudBrick(int par1)
|
||||
{
|
||||
super(par1, Material.rock);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.BlockHalfSlab;
|
||||
|
@ -22,7 +22,7 @@ public class BlockMudBrickSlab extends BlockHalfSlab
|
|||
public BlockMudBrickSlab(int par1, boolean par2)
|
||||
{
|
||||
super(par1, par2, Material.rock);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.useNeighborBrightness[blockID] = true;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package biomesoplenty.blocks;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockStairs;
|
||||
|
@ -17,7 +17,7 @@ public class BlockMudBrickStairs extends BlockStairs
|
|||
super(par1, par2Block, 0);
|
||||
this.modelBlock = par2Block;
|
||||
this.setLightOpacity(0);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
@ -19,7 +19,7 @@ public class BlockOrangeFlower extends Block
|
|||
this.setTickRandomly(true);
|
||||
float var4 = 0.2F;
|
||||
this.setBlockBounds(0.5F - var4, 0.0F, 0.5F - var4, 0.5F + var4, var4 * 3.0F, 0.5F + var4);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
public BlockOrangeFlower(int par1)
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -37,7 +37,7 @@ public class BlockOrangeLeaves extends BlockLeavesBase implements IShearable
|
|||
super(par1, Material.leaves, false);
|
||||
this.setBurnProperties(this.blockID, 30, 60);
|
||||
this.setTickRandomly(true);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.worldgen.WorldGenAutumn2;
|
||||
|
||||
import net.minecraft.block.BlockSapling;
|
||||
|
@ -25,7 +25,7 @@ public class BlockOrangeSapling extends BlockSapling
|
|||
super(par1);
|
||||
float var3 = 0.4F;
|
||||
this.setBlockBounds(0.5F - var3, 0.0F, 0.5F - var3, 0.5F + var3, var3 * 2.0F, 0.5F + var3);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,7 @@ package biomesoplenty.blocks;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -22,7 +22,7 @@ public class BlockOriginGrass extends Block
|
|||
{
|
||||
super(par1, Material.grass);
|
||||
this.setTickRandomly(true);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
@ -36,7 +36,7 @@ public class BlockOriginLeaves extends BlockLeavesBase implements IShearable
|
|||
super(par1, Material.leaves, false);
|
||||
this.setTickRandomly(true);
|
||||
this.setBurnProperties(this.blockID, 30, 60);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package biomesoplenty.blocks;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import biomesoplenty.mod_BiomesOPlenty;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
import biomesoplenty.configuration.BOPBlocks;
|
||||
import biomesoplenty.worldgen.WorldGenOriginTree;
|
||||
|
||||
|
@ -27,7 +27,7 @@ public class BlockOriginSapling extends BlockSapling
|
|||
super(par1);
|
||||
float var3 = 0.4F;
|
||||
this.setBlockBounds(0.5F - var3, 0.0F, 0.5F - var3, 0.5F + var3, var3 * 2.0F, 0.5F + var3);
|
||||
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
||||
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue