diff --git a/dependencies.json b/dependencies.json index 8d171fa..3535c9e 100644 --- a/dependencies.json +++ b/dependencies.json @@ -1,6 +1,6 @@ { - "fabric.wthit.api" : "mcp.mobius.waila:wthit-api:fabric-5.29.0", - "fabric.wthit.runtime" : "mcp.mobius.waila:wthit:fabric-5.29.0", + "fabric.wthit.api" : "mcp.mobius.waila:wthit-api:fabric-5.30.1", + "fabric.wthit.runtime" : "mcp.mobius.waila:wthit:fabric-5.30.1", "fabric.badpackets" : "lol.bai:badpackets:fabric-0.2.3", "fabric.ae2" : "appeng:appliedenergistics2-fabric:12.9.9", "fabric.alloyForge" : "maven.modrinth:jhl28YkY:q1L7hbA8", @@ -26,11 +26,11 @@ "fabric.wirelessNet" : "curse.maven:cursemod-461316:3876132", "fabric.lapisReserve" : "curse.maven:cursemod-399679:3345208", "fabric.resourceChickens" : "curse.api:632145:5632040", - "forge.wthit.api" : "mcp.mobius.waila:wthit-api:forge-5.29.0", - "forge.wthit.runtime" : "mcp.mobius.waila:wthit:forge-5.29.0", + "forge.wthit.api" : "mcp.mobius.waila:wthit-api:forge-5.30.1", + "forge.wthit.runtime" : "mcp.mobius.waila:wthit:forge-5.30.1", "forge.badpackets" : "lol.bai:badpackets:forge-0.2.3", "forge.ae2" : "appeng:appliedenergistics2-forge:12.9.9", - "forge.create" : "maven.modrinth:LNytGWDc:Vfzp1Xaz", + "forge.create" : "maven.modrinth:LNytGWDc:3xeyebKN", "forge.ie" : "maven.modrinth:tIm2nV03:VzTXQKEm", "forge.rs" : "maven.modrinth:KDvYkUg3:q3LiZwUb", "forge.jei" : "maven.modrinth:u6dRKJwZ:8HIXqeHh", diff --git a/modules/forge/create/src/main/java/lol/bai/megane/module/create/provider/SchematicannonProvider.java b/modules/forge/create/src/main/java/lol/bai/megane/module/create/provider/SchematicannonProvider.java index b0d4120..d567b78 100644 --- a/modules/forge/create/src/main/java/lol/bai/megane/module/create/provider/SchematicannonProvider.java +++ b/modules/forge/create/src/main/java/lol/bai/megane/module/create/provider/SchematicannonProvider.java @@ -51,7 +51,7 @@ public void appendBody(ITooltip tooltip, IBlockAccessor accessor, IPluginConfig SchematicannonBlockEntity be = accessor.getBlockEntity(); if (be == null) return; - var fuel = be.fuelLevel; + var fuel = be.remainingFuel / (float) be.getShotsPerGunpowder(); var text = Component.literal((fuel * 100) + "%"); tooltip.addLine(new PairComponent(