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

Feature Request: Make various Book of Lore methods more easy to access #1928

Open
3 tasks done
Zepalesque opened this issue Dec 31, 2023 · 3 comments
Open
3 tasks done
Assignees
Labels
type/request The issue is a feature or change request and does not fit into the other types. version/1.20.2 This issue affects Minecraft version 1.20.2. version/1.20.4 This issue affects Minecraft version 1.20.4.

Comments

@Zepalesque
Copy link
Contributor

What Feature Types Apply to This Request?

System

Other Type

No response

Is This an Enhancement to a Preexisting Feature?

  • I confirm this request is an enhancement to a feature already in The Aether.

What Is Your Feature Request?

It would be helpful if LoreBookMenu.LORE_ENTRY_OVERRIDES was public, rather than being private, along with LoreBookMenu.getLoreEntryKey() and LoreBookMenu.loreEntryKeyExists() methods being static, as they do not appear to need to be non-static.
An additional potentially helpful change would be to change the Predicate<ItemStack>s to ItemPredicates with an additional NbtPredicate in order to allow them to be saved to json.

Why Should It Be in the Mod?

So that addon creators can more easily use the book of lore entries. My specific use case is I am trying to implement a system that saves all of the book of lore entries you have viewed before, so that you can look at them again without needing to re-insert the same item.

Does This Feature Improve Compatibility With Another Mod?

No response

Please Read and Confirm the Following

  • I have confirmed this feature is either in the original Aether mod, or improves parity between The Aether and Minecraft or other mods.
  • I have confirmed this suggestion is unique and has not been suggested already.
@Zepalesque Zepalesque added the type/request The issue is a feature or change request and does not fit into the other types. label Dec 31, 2023
@bconlon1 bconlon1 added this to the Post-Release Features milestone Dec 31, 2023
@Zepalesque
Copy link
Contributor Author

Zepalesque commented Jan 1, 2024

Oh right, so something I just thought of related to this that would also be potentially helpful is a way to get a sort of ’example’ item stack from a lore entry translation key, although some lore overrides could potentially have multiple potential itemstacks so maybe a ‘default display’ item stack
idk exactly how feasable it is and I may be able to find an alternate way if it isn’t but yeah

another thing related that could be good is maybe the lore overrides should be put into a new registry with RegistryObjects, so that maybe instead of the translation key you could instead get it from a ResourceLocation
that could also help with the first idea because then the class could have a method to give that sort of general example of the lore override as an item stack

idk if that’s all super feasable though, but if making a pull request for it would make it more likely then I could do that, especially because I now have a pretty good idea for how it could work lol

@bconlon1 bconlon1 self-assigned this Jan 1, 2024
@bconlon1
Copy link
Contributor

bconlon1 commented Jan 7, 2024

If you make a PR for it, it would likely be considered a breaking change, but I would be interested in seeing it so you could make it and it could be saved for 1.20.2.

@bconlon1 bconlon1 assigned Zepalesque and unassigned bconlon1 Jan 7, 2024
@bconlon1 bconlon1 added version/1.20.2 This issue affects Minecraft version 1.20.2. version/1.20.4 This issue affects Minecraft version 1.20.4. labels Jan 7, 2024
@bconlon1 bconlon1 added the status/help-wanted The issue is open to help by other developers. label Mar 18, 2024
@Zepalesque
Copy link
Contributor Author

heck I forgot I need to do this still lol
can probably do this soon if I can remember my complex plan of how to do it, that is 😂

@bconlon1 bconlon1 removed the status/help-wanted The issue is open to help by other developers. label Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/request The issue is a feature or change request and does not fit into the other types. version/1.20.2 This issue affects Minecraft version 1.20.2. version/1.20.4 This issue affects Minecraft version 1.20.4.
Projects
Status: Back Log
Development

No branches or pull requests

2 participants