diff options
| author | OnyxDarkKnight <sor1n.iliutza16@gmail.com> | 2014-02-08 03:03:22 +0200 |
|---|---|---|
| committer | OnyxDarkKnight <sor1n.iliutza16@gmail.com> | 2014-02-08 03:03:22 +0200 |
| commit | 4d0e0e8de72bda8543a888082a93b1e56f13856b (patch) | |
| tree | b17c62ab7119ce485d49f163e4c10dfd05ae0d57 /common/darkknight/jewelrycraft/block/BlockGlow.java | |
| parent | 9075a22c3e303699db18062ebfc0159cace27c29 (diff) | |
Added a new block and implemented an on/off "switch" for the rings that give buffs, also working on balancing the rings
Diffstat (limited to 'common/darkknight/jewelrycraft/block/BlockGlow.java')
| -rw-r--r-- | common/darkknight/jewelrycraft/block/BlockGlow.java | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/common/darkknight/jewelrycraft/block/BlockGlow.java b/common/darkknight/jewelrycraft/block/BlockGlow.java new file mode 100644 index 0000000..9a34552 --- /dev/null +++ b/common/darkknight/jewelrycraft/block/BlockGlow.java @@ -0,0 +1,39 @@ +package darkknight.jewelrycraft.block; + +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.world.World; + +public class BlockGlow extends Block +{ + protected BlockGlow(int par1) + { + super(par1, Material.air); + } + + public AxisAlignedBB getCollisionBoundingBoxFromPool(World par1World, int par2, int par3, int i) + { + return null; + } + + public boolean isCollidable() + { + return false; + } + + public boolean isOpaqueCube() + { + return false; + } + + public boolean renderAsNormalBlock() + { + return false; + } + + public int getRenderType() + { + return -1; + } +} |
