Skip to content

Commit

Permalink
AxShulkers how does it work page
Browse files Browse the repository at this point in the history
  • Loading branch information
BenceX100 committed Dec 10, 2023
1 parent 3b442fc commit 55781b1
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions Writerside/hi.tree
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
<toc-element topic="Developer-API5.md"/>
</toc-element>
<toc-element topic="AxShulkers.md">
<toc-element topic="How-does-it-work.md"/>
<toc-element topic="Commands7.md"/>
<toc-element topic="Permissions3.md"/>
<toc-element topic="Configuration5.md"/>
Expand Down
18 changes: 18 additions & 0 deletions Writerside/topics/How-does-it-work.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# How does it work?

When you open a shulker for the first time, AxShulkers puts a UUID on it:

<img alt="img.png" src="./img.png" width="800"/>

<i>* output from /paper dumpitem</i>

The plugin stores everything in a database, and it finds the items based off the shulker's UUID

<img alt="img_1.png" src="./img_1.png" width="800"/>

<p>So instead of storing the items within the shulker item's nbt, the plugin stores them in a database.
When a player first opens a shulker, it creates a database entry and after that it will load it into memory as a inventory.
Because of this the only way to dupe items is to find a dupe in the vanilla minecraft inventories.</p>

<p>However there is a big disadvantage, which is if you copy paste a shulker or duplicate them, they will share the same inventory, which is usually not what people want.
To prevent shared inventories, you must clear the UUID from shulkers with <b>/axshulkers clear</b> to be able to use them in crates or kits.</p>
Binary file added Writerside/topics/img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Writerside/topics/img_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 55781b1

Please sign in to comment.