tutorial:inventory
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tutorial:inventory [2026/01/24 02:10] – Migrated Code to Mojmap 1.21.11 infinitychances | tutorial:inventory [2026/04/05 18:03] (current) – cassiancc | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ~~REDIRECT> | ||
| + | |||
| ====== Storing items in a block as an Inventory ====== | ====== Storing items in a block as an Inventory ====== | ||
| :!: This page has been updated for mojmap. Because of this change, the class known as " | :!: This page has been updated for mojmap. Because of this change, the class known as " | ||
| Line 236: | Line 238: | ||
| blockEntity.removeItem(0); | blockEntity.removeItem(0); | ||
| } else { | } else { | ||
| - | return InteractionResult.PASS; | + | return InteractionResult.TRY_WITH_EMPTY_HAND; |
| } | } | ||
| } | } | ||
tutorial/inventory.1769220606.txt.gz · Last modified: 2026/01/24 02:10 by infinitychances