-
Notifications
You must be signed in to change notification settings - Fork 150
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
Creative Inventory Handler Missing #834
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The creative inventory currently lacks essential features related to item creation and destruction. Unlike other inventories, there is no existing handler interface or methods specifically designed to manage these actions within the creative inventory.
Proposed Solution
To address this deficiency, I recommend to extend the current handler interface to incorporate functions related to item creation and destruction. The existing handler interface for actions performed by a player on an inventory is defined as follows:
https://github.com/df-mc/dragonfly/blob/master/server/item/inventory/handler.go#L8-L18
This existing interface can be extended to include methods specifically tailored for creative mode, addressing the unique actions associated with item creation and destruction. Alternatively, a new interface dedicated to the creative inventory can be created to ensure it accommodates the distinct functionalities required in creative mode.
Expected Outcome
Implementing a mechanism to handle actions within the creative inventory will significantly enhance the overall functionality of the server software. This enhancement will provide a more comprehensive set of features for efficiently managing items in creative mode, thereby improving the developer experience and expanding the capabilities of the server.
The text was updated successfully, but these errors were encountered: