aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/github/technus/tectech/thing/block/EyeOfHarmonyBlock.java20
1 files changed, 1 insertions, 19 deletions
diff --git a/src/main/java/com/github/technus/tectech/thing/block/EyeOfHarmonyBlock.java b/src/main/java/com/github/technus/tectech/thing/block/EyeOfHarmonyBlock.java
index 4fd0867078..8ade1246cf 100644
--- a/src/main/java/com/github/technus/tectech/thing/block/EyeOfHarmonyBlock.java
+++ b/src/main/java/com/github/technus/tectech/thing/block/EyeOfHarmonyBlock.java
@@ -22,7 +22,7 @@ public class EyeOfHarmonyBlock extends Block {
this.setHardness(-1.0f);
this.setCreativeTab(TecTech.creativeTabEM);
this.setBlockName("Eye of Harmony Renderer");
- this.setLightLevel(100.0f); // todo check
+ this.setLightLevel(100.0f);
registerOther(this);
}
@@ -62,22 +62,4 @@ public class EyeOfHarmonyBlock extends Block {
GameRegistry.registerBlock(block, name.substring(name.indexOf(":") + 1));
}
- @Override
- public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int p_149727_6_,
- float p_149727_7_, float p_149727_8_, float p_149727_9_) {
- TileEyeOfHarmony tile = (TileEyeOfHarmony) world.getTileEntity(x, y, z);
-
- if (player.isSneaking()) {
- tile.incrementSize();
- } else {
- tile.increaseRotationSpeed();
- }
-
- if (!world.isRemote) {
- player.addChatComponentMessage(new ChatComponentText("Rotation Speed:" + tile.getRotationSpeed()));
- player.addChatComponentMessage(new ChatComponentText("Size: " + tile.getSize()));
- }
-
- return true;
- }
}