Adding an "Inventory full" icon to machines on halt
TheBusyBiscuit opened this issue ยท 0 comments
This Issue is part of Hacktoberfest - A yearly event which encourages participation in the open-source community. Sign up on their website and submit four pull requests during october (Oct 1st - Oct 31st) to any public open-source project on GitHub and earn a limited-edition T-shirt or plant a tree!
๐ Scope
The following bullet points explain what the scope of this feature should be.
It should give a general idea of what we want, you can of course deviate from this as needed.
- Electrical machines currently stop processing when they don't have room for the item they wanna produce, there should be a visual indication for this
- Whenever the item cannot fit into the inventory, the item in slot 22 should show that
- The item should probably be a Barrier with a translatable message saying that the output slots don't have enough room
- For performance reasons... the Item should only display if at least one Player is currently viewing this inventory
- Similar to the progress bar method, this should probably be added as a utility method in
ChestMenuUtils.java
with a configurable slot parameter.
โ Difficulty
Here is our honest estimate on how difficult (on a scale of 1-5) the implementation may be:
๐ต๐ต๐ตโชโช
๐ง Technical Challenges
These are some challenges which may need to be overcome, we wanna be as transparent as possible, so here is some guidance on what may present itself as an obstacle.
- There are a lot of subclasses inheriting from AContainer which may need to be patched too
- The string should be added to the localization files and read from there too
๐ Relevant Classes or Snippets
Here are some classes or code snippets which we think might help you get a better understanding where to look for in this gigantic codebase
๐ Useful Resources
If you need help on how to get started, maybe try looking into the following resources!
- Hacktoberfest
- GitHub/Open-Source
- Slimefun
If you want to work on this, simply comment down below and state your interests! Please also comment again if you have changed your mind. Anyone is allowed to discuss in the comments below, feel free to collaborate and work together โค๏ธ
You can always ask for help here if you get stuck.