fabric-docs
fabric-docs copied to clipboard
Block Inventory article
Added an article about implementing Inventory in block entities. Some stuff (e.g. ImplementedInventory) copied over from wiki's "tutorial:inventory".
Tutorial covers using the ImplementedInventory & implementing SidedInventory, as well as some basic user interaction (inserting items on right-click).
Deploy Preview for nimble-elf-d9d491 ready!
| Name | Link |
|---|---|
| Latest commit | 595d29914269b9227b04fcc147f42b7939f486cf |
| Latest deploy log | https://app.netlify.com/projects/nimble-elf-d9d491/deploys/6825886ce3a33f000820649a |
| Deploy Preview | https://deploy-preview-246--nimble-elf-d9d491.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify project configuration.
Thank you for your contribution!
We are temporarily not accepting PRs until we finish the update process. Follow #242 for more information.
You may keep this PR open.
Hi! The documentation has been updated to version 1.21.4. Please rebase your PR and update your code to align with the latest version.
Alternatively, you can create a new branch based on the latest commit from the FabricMC:main branch, copy over your changes from the old natri0:inventory branch, update it, and open a new PR - this approach is often simpler than dealing with complex git commands if you're not the best git wrangler.
Once you've completed the updates and are confident everything is ready, feel free to unmark this as a draft. Thanks again for your contribution!
updated for 1.21.4 :)
Hello @natri0, are you still working on this?
@its-miroma sorry for the delay, was busy; i'll get back to it next week :)
rebased to latest main and applied changes requested by @its-miroma.
Also on that note, an example on how to use the Fabric Transfer API might be useful for that too. Or this could get its extra page, if necessary.
@JR1811 i think a separate page (maybe "under" this one like Block Entities -> Block Entity Renderers) and a note about the existence of Fabric Transfer API would be better? don't want it to get too long/complex with marginally related parts all in the same article.
Hi @natri0, sorry for the long wait, do you think you could address the last few reviews, and check if anything changed in 1.21.10, so we can get this merged? Thank you!