Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Texture Issue] Energizing Rod gauge is always empty when looked at #196

Open
geradeaus007 opened this issue Sep 21, 2024 · 0 comments
Open

Comments

@geradeaus007
Copy link

Version: (make sure you are on the latest version before reporting):

  • Minecraft: 1.20.1
  • Forge: 47.3.7
  • Powah: 5.0.7

Issue description:

The gauge texture when looking at an Energizing Rod is empty, regardless of actual energy level.

Steps to reproduce:

Place an Energizing Rod on an empty Energy Cell and one on a Creative/not empty Energy Cell
Look at each Energizing Rod
Witness the same texture

Solution

In EnergizingRodBlock.java the following piece of code has misconfigured width/height and start x/y positions.

Draw.gaugeH(x - 37, y - 79, 72, 16, 0, 9, ((EnergizingRodTile) te).getEnergy());

Line 171
Correct would be:

Draw.gaugeH(x - 37, y - 79, 0, 9, 72, 7, ((EnergizingRodTile) te).getEnergy());

Other

I don't know my way around github. So I don't know how to properly reference code in a repository or make a pull request for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant