@Override public void onNeighborBlockChange(World world, int x, int y, int z, Block b) { if (DragonAPICore.isReikasComputer() && ReikaObfuscationHelper.isDeObfEnvironment()) { if (world.isBlockIndirectlyGettingPowered(x, y, z)) { if (world.getBlockMetadata(x, y, z) == LaserEffectType.EMITTER.ordinal()) { LaserEffectTile te = (LaserEffectTile) world.getTileEntity(x, y, z); te.fire(); return; } } } }
public boolean isRotateable() { return PARTIAL_ROTATEABILITY ? rotateable : !(this instanceof TargetTile) && this.getBlockMetadata() != LaserEffectType.EMITTER.ordinal(); }