Massive rework of configs, items and blocks.
I redone where the items/blocsks are stored and how the configs are handled to clean up it and give space. You can change the config line to AWWayofTime if you want to keep the compatibility with old configs. Now you reference the blocks from the ModBlocks and Items from the ModItems.
This commit is contained in:
parent
8601e9faff
commit
e3644f2d2b
304 changed files with 3941 additions and 5108 deletions
|
@ -1,17 +1,16 @@
|
|||
package WayofTime.alchemicalWizardry.common.block;
|
||||
|
||||
import WayofTime.alchemicalWizardry.common.AlchemicalWizardry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.util.Icon;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.fluids.BlockFluidClassic;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
public class LifeEssenceBlock extends BlockFluidClassic
|
||||
{
|
||||
public class LifeEssenceBlock extends BlockFluidClassic {
|
||||
public LifeEssenceBlock(int id)
|
||||
{
|
||||
super(id, AlchemicalWizardry.lifeEssenceFluid, Material.water);
|
||||
|
@ -37,7 +36,7 @@ public class LifeEssenceBlock extends BlockFluidClassic
|
|||
@Override
|
||||
public boolean canDisplace(IBlockAccess world, int x, int y, int z)
|
||||
{
|
||||
if (world.getBlockMaterial(x, y, z).isLiquid())
|
||||
if (world.getBlockMaterial(x, y, z).isLiquid())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -48,7 +47,7 @@ public class LifeEssenceBlock extends BlockFluidClassic
|
|||
@Override
|
||||
public boolean displaceIfPossible(World world, int x, int y, int z)
|
||||
{
|
||||
if (world.getBlockMaterial(x, y, z).isLiquid())
|
||||
if (world.getBlockMaterial(x, y, z).isLiquid())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue