diff --git a/port.MD b/port.MD index fa61c2984..59ba11fdd 100644 --- a/port.MD +++ b/port.MD @@ -50,7 +50,7 @@ - [x] Make coffee beans and seeds be the same item or I might get killed by someone finally # Keep As Is -- [ ] Battery box +- [X] Battery box - [ ] Item interfaces and item laser system - [ ] Farmer - [x] Empowerer and display stands diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/render/RenderBatteryBox.java b/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/render/RenderBatteryBox.java index 5a6245747..6fcfc2ad8 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/render/RenderBatteryBox.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/render/RenderBatteryBox.java @@ -37,7 +37,6 @@ public class RenderBatteryBox extends TileEntityRenderer { super(rendererDispatcherIn); } - // TODO: [port] migrate to matric (see cleanstart) (done partly) @Override public void render(TileEntityBatteryBox tile, float partialTicks, MatrixStack matrices, IRenderTypeBuffer buffer, int combinedLight, int combinedOverlay) { ItemStack stack = tile.inv.getStackInSlot(0); @@ -66,22 +65,6 @@ public class RenderBatteryBox extends TileEntityRenderer { matrices.translate(-60F, 0F, 60F); matrices.mulPose(Vector3f.YP.rotationDegrees(90)); } - // TODO: Remove if the above works - // NumberFormat format = NumberFormat.getInstance(); - // FontRenderer font = Minecraft.getInstance().fontRenderer; - // - // String s = format.format(cap.getEnergyStored()) + "/" + format.format(cap.getMaxEnergyStored()); - // float lengthS = -font.getStringWidth(s) / 2F; - // String s2 = I18n.format("actuallyadditions.cflong"); - // float lengthS2 = -font.getStringWidth(s2) / 2F; - // - // for (int i = 0; i < 4; i++) { - // font.drawString(matrices, s, lengthS, 10F, 0xFFFFFF); - // font.drawString(matrices, s2, lengthS2, 20F, 0xFFFFFF); - // - // RenderSystem.translatef(-50F, 0F, 50F); - // RenderSystem.rotatef(90F, 0F, 1F, 0F); - // } }); matrices.popPose(); // text rotation diff --git a/src/main/resources/assets/actuallyadditions/lang/en_us.json b/src/main/resources/assets/actuallyadditions/lang/en_us.json index 161cd3a5f..50b913c30 100644 --- a/src/main/resources/assets/actuallyadditions/lang/en_us.json +++ b/src/main/resources/assets/actuallyadditions/lang/en_us.json @@ -218,7 +218,7 @@ "block.actuallyadditions.distributor_item": "Item Distributor (wip)", "block.actuallyadditions.bio_reactor": "Bio Reactor (wip)", "block.actuallyadditions.farmer": "Farmer", - "block.actuallyadditions.battery_box": "Battery Box (wip)", + "block.actuallyadditions.battery_box": "Battery Box", "block.actuallyadditions.restonia_crystal_cluster": "Red Crystal Cluster", "block.actuallyadditions.palis_crystal_cluster": "Blue Crystal Cluster", "block.actuallyadditions.diamatine_crystal_cluster": "Light Blue Crystal Cluster",