-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix proposal for #6076 #9256
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
base: mc1.20.1/dev
Are you sure you want to change the base?
Fix proposal for #6076 #9256
Conversation
e88a880
to
cb0d59b
Compare
This fixes #4398 by extension. This hover text should be adjusted when you're blocked from putting a schematic there, imo. |
Then probably a proper method to check if can insert would be in order. I'm not very familiar yet with mc UIs, any advice/recommendation? |
private final String _slotGunpowder = "gui.schematicannon.slot.gunpowder"; | ||
private final String _slotListPrinter = "gui.schematicannon.slot.listPrinter"; | ||
private final String _slotSchematic = "gui.schematicannon.slot.schematic"; | ||
private final String _slotSchematicEnabled = "gui.schematicannon.slot.schematic"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I migrate it to "gui.schematicannon.slot.schematicEnabled"? is enough just changing the id?
89e4a4a
to
395f38a
Compare
Ok, ready to review, I hope renaming a lang entry is not a bad thing |
If a key is renamed then it should also be changed in the other lang files so that the existing translations aren't lost. |
Done |
As well explained by the user that made #6076, when the schematic is out of range the cannon gets reseted as in all other errors, but the schematic is not emptied or moved from slot 0, so it immediately gets reloaded, over and over again.
Since the other schematics error also have the issue of voiding previous stack of schematics on the output, and on finish schematics get overstacked, this PR makes so that only 1 schematic can be in the canon at once by:
I would like a visual indication that the slot 0 is disabled (like when it has an schematic in it), but I don't know how to do that yet .