diff options
author | GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com> | 2023-02-20 00:39:40 +0000 |
---|---|---|
committer | GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com> | 2023-02-20 00:39:40 +0000 |
commit | 684d3d4f737980354c5deaef6be56dc9c6e5eb87 (patch) | |
tree | 333bd81fe4fc0131d47be246daf8d3901c0a632e /src | |
parent | 686b4483b496dade0d004a3a9bc212e91c43c3d6 (diff) | |
download | GT5-Unofficial-684d3d4f737980354c5deaef6be56dc9c6e5eb87.tar.gz GT5-Unofficial-684d3d4f737980354c5deaef6be56dc9c6e5eb87.tar.bz2 GT5-Unofficial-684d3d4f737980354c5deaef6be56dc9c6e5eb87.zip |
Remove comment
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/github/technus/tectech/thing/block/EyeOfHarmonyBlock.java | 20 |
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; - } } |