diff options
| author | Foghrye4 <foghrye4@gmail.com> | 2017-02-12 20:43:03 +0300 |
|---|---|---|
| committer | Foghrye4 <foghrye4@gmail.com> | 2017-02-12 20:43:03 +0300 |
| commit | 5cb4c6e24033cf337812390d99a6817d24d21eab (patch) | |
| tree | 695789855920199efd4702a7bb3e4bacfe58b9f0 /ihl/i_hate_liquids/IHLEventHandler.java | |
| parent | 8f22398517206aed21a7fd840f463332429fae35 (diff) | |
Removed explosion radius limitations. Explosion calculation optimized (reduced memory usage). One more detonator and explosive pack recipe. GT6 recipes for both chemical reactors and cryogenic distiller. Max stack size of muffle furnace is limited to 32. A lot of old features are removed.
Diffstat (limited to 'ihl/i_hate_liquids/IHLEventHandler.java')
| -rw-r--r-- | ihl/i_hate_liquids/IHLEventHandler.java | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/ihl/i_hate_liquids/IHLEventHandler.java b/ihl/i_hate_liquids/IHLEventHandler.java deleted file mode 100644 index cd777ed..0000000 --- a/ihl/i_hate_liquids/IHLEventHandler.java +++ /dev/null @@ -1,59 +0,0 @@ -package ihl.i_hate_liquids;
-
-import net.minecraft.block.Block;
-import net.minecraft.world.World;
-import net.minecraftforge.event.world.BlockEvent.BreakEvent;
-import cpw.mods.fml.common.eventhandler.SubscribeEvent;
-
-public class IHLEventHandler {
-
- public IHLEventHandler() {}
-
-
- @SubscribeEvent
- public void onBlockBreak(BreakEvent event)
- {
- World world = event.world;
- if(!world.isRemote)
- {
- int x = event.x;
- int y = event.y;
- int z = event.z;
- Block block = world.getBlock(x, y+1, z);
- if(block.getMaterial().isLiquid())
- {
- InvisibleMagicanEntity im = new InvisibleMagicanEntity(world, x, y, z);
- world.spawnEntityInWorld(im);
- return;
- }
- block = world.getBlock(x+1, y, z);
- if(block.getMaterial().isLiquid())
- {
- InvisibleMagicanEntity im = new InvisibleMagicanEntity(world, x, y, z);
- world.spawnEntityInWorld(im);
- return;
- }
- block = world.getBlock(x-1, y, z);
- if(block.getMaterial().isLiquid())
- {
- InvisibleMagicanEntity im = new InvisibleMagicanEntity(world, x, y, z);
- world.spawnEntityInWorld(im);
- return;
- }
- block = world.getBlock(x, y, z+1);
- if(block.getMaterial().isLiquid())
- {
- InvisibleMagicanEntity im = new InvisibleMagicanEntity(world, x, y, z);
- world.spawnEntityInWorld(im);
- return;
- }
- block = world.getBlock(x, y, z-1);
- if(block.getMaterial().isLiquid())
- {
- InvisibleMagicanEntity im = new InvisibleMagicanEntity(world, x, y, z);
- world.spawnEntityInWorld(im);
- return;
- }
- }
- }
-}
|
