diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/render/ReconstructorRenderer.java b/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/render/ReconstructorRenderer.java index 5eeb37ec9..c2c3dc4c1 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/render/ReconstructorRenderer.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/render/ReconstructorRenderer.java @@ -36,11 +36,20 @@ public class ReconstructorRenderer extends TileEntityRenderer 0) { + Direction direction = tile.getOrientation(); + float rot = 360.0f - direction.getOpposite().toYRot(); //Sigh... + float pitch = 0; + if (direction == Direction.UP) { + pitch = 90; + } else if (direction == Direction.DOWN) { + pitch = -90; + } + + AssetUtil.renderLaser(matrices, buffer, 0, 0, 0, rot, pitch, 5, 0, 0x1b6dff, 0.8f * tile.getProgress(), 0.2f); + tile.decTTL(); + } if (!StackUtil.isValid(stack) || !(stack.getItem() instanceof ILensItem)) { return; } diff --git a/src/main/resources/assets/actuallyadditions/lang/en_us.json b/src/main/resources/assets/actuallyadditions/lang/en_us.json index 27fab454f..47803a7f7 100644 --- a/src/main/resources/assets/actuallyadditions/lang/en_us.json +++ b/src/main/resources/assets/actuallyadditions/lang/en_us.json @@ -369,10 +369,10 @@ "item.actuallyadditions.empowered_void_crystal": "Empowered Void Crystal", "item.actuallyadditions.empowered_enori_crystal": "Empowered Enori Crystal", "item.actuallyadditions.lens": "Lens", - "item.actuallyadditions.color_lens": "Lens of Color", - "item.actuallyadditions.explosion_lens": "Lens of Detonation", - "item.actuallyadditions.damage_lens": "Lens of Certain Death", - "item.actuallyadditions.disenchanting_lens": "Lens of Disenchanting", + "item.actuallyadditions.lens_of_color": "Lens of Color", + "item.actuallyadditions.lens_of_detonation": "Lens of Detonation", + "item.actuallyadditions.lens_of_certain_death": "Lens of Certain Death", + "item.actuallyadditions.lens_of_disenchanting": "Lens of Disenchanting", "item.actuallyadditions.crate_keeper": "Storage Crate Keeper", "item.actuallyadditions.pickaxe_crystal_red": "Restonia Crystal Pickaxe", "item.actuallyadditions.axe_crystal_red": "Restonia Crystal Axe", @@ -450,8 +450,8 @@ "item.actuallyadditions.void_sack": "Void Sack", "item.actuallyadditions.crystallized_canola_seed": "Crystallized Canola Seed", "item.actuallyadditions.empowered_canola_seed": "Empowered Canola Seed", - "item.actuallyadditions.mining_lens": "Lens of the Miner", - "item.actuallyadditions.more_damage_lens": "Lens of the Killer", + "item.actuallyadditions.lens_of_the_miner": "Lens of the Miner", + "item.actuallyadditions.lens_of_the_killer": "Lens of the Killer", "item.actuallyadditions.filling_wand": "Handheld Filler", "item.actuallyadditions.laser_upgrade_invisibility": "Laser Relay Modifier: Invisibility", "item.actuallyadditions.engineer_goggles": "Engineer's Goggles",