summaryrefslogtreecommitdiff
path: root/ihl/enviroment/GlowningAirBlock.java
diff options
context:
space:
mode:
authorFoghrye4 <foghrye4@gmail.com>2017-04-14 07:58:16 +0300
committerFoghrye4 <foghrye4@gmail.com>2017-04-14 07:58:16 +0300
commitaa42aedecd2d2842351088085e8fd9d69ec79565 (patch)
tree94c888b3d362868f427980dd37765f9bb166dba9 /ihl/enviroment/GlowningAirBlock.java
parentfb29b09822057ae7b1b913993dc1fa3a67345eec (diff)
Colourful lights
Diffstat (limited to 'ihl/enviroment/GlowningAirBlock.java')
-rw-r--r--ihl/enviroment/GlowningAirBlock.java34
1 files changed, 0 insertions, 34 deletions
diff --git a/ihl/enviroment/GlowningAirBlock.java b/ihl/enviroment/GlowningAirBlock.java
deleted file mode 100644
index e6dfb8e..0000000
--- a/ihl/enviroment/GlowningAirBlock.java
+++ /dev/null
@@ -1,34 +0,0 @@
-package ihl.enviroment;
-
-import net.minecraft.block.BlockAir;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLivingBase;
-import net.minecraft.entity.EnumCreatureAttribute;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-
-public class GlowningAirBlock extends BlockAir
-{
- public GlowningAirBlock()
- {
- super();
- this.setBlockName("glowningAir");
- this.setLightLevel(1.0f);
- this.setBlockTextureName("glass");
- }
-
- @Override
- public boolean isAir(IBlockAccess world, int x, int y, int z)
- {
- return true;
- }
-
- @Override
- public void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity entity)
- {
- if (entity instanceof EntityLivingBase && ((EntityLivingBase)entity).getCreatureAttribute() == EnumCreatureAttribute.UNDEAD)
- {
- entity.setFire(20);
- }
- }
-}