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

Fix crafting in custom inventories #7265

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Machine-Maker
Copy link
Member

@Machine-Maker Machine-Maker commented Jan 3, 2022

This uses some pretty absurd solutions I think to fix some existing issues with bukkit's inventory system and inventories created vis Bukkit.createInventory(). I recommend people use the HumanEntity#openSomething methods cause those are going to be pretty good, but they don't afford as much customization as the other ones.

Creating this as a draft because I haven't tested all the inventories and I'm sure others suffer from the same problem anvil, smithing tables, and enchant tables did. It's mainly non-tile-entity crafting block inventories, so I think looms, stonecutters, and grindstones are probably affected.

Fixes #10621

Fixed

  • Enchanting
  • Anvil
  • Smithing
  • Beacon
  • Loom
  • Cartography
  • Grindstone
  • Stonecutter

@Machine-Maker Machine-Maker changed the title Fix InventoryView#set/getItem in custom inventories Fix crafting in custom inventories Jan 3, 2022
@Machine-Maker
Copy link
Member Author

Now includes fixes for Looms and Stonecutters. Also fixes #5825 now.

@stale
Copy link

stale bot commented Mar 15, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale
Copy link

stale bot commented Jun 24, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale
Copy link

stale bot commented Jul 2, 2022

This issue has been automatically closed because it has not had activity in a long time. If the issue still applies to the most recent supported version, please open a new issue referencing this original issue.

@stale stale bot closed this Jul 2, 2022
@Machine-Maker Machine-Maker reopened this Jul 3, 2022
@Machine-Maker Machine-Maker force-pushed the fix/view-custom-inventory branch 2 times, most recently from 17bb786 to 44b7388 Compare December 23, 2022 16:49
@kashike kashike linked an issue Apr 29, 2024 that may be closed by this pull request
@kashike kashike added type: bug Something doesn't work as it was intended to. and removed status: rebase required labels Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something doesn't work as it was intended to.
Projects
Status: Awaiting review
2 participants