ItemInput .java
net.minecraft.commands.arguments.item.ItemInput (record, 31 lines): members: item, components, ERROR_MALFORMED_ITEM, ERROR_STACK_TOO_BIG, createItemStack.
File
API Surface (2)
record ItemInput(Holder<Item> item, DataComponentPatch components)ItemStack createItemStack(final int count)Fields & Constants (2)
ERROR_STACK_TOO_BIGERROR_MALFORMED_ITEMString literals (2)
"arguments.item.overstacked""arguments.item.malformed"Same Package (6)
Code Graph: Dependencies (5)
Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.
Full Source
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
Decompiled Minecraft 26.3 source of ItemInput (net/minecraft/commands/arguments/item/ItemInput.java) with Mojang official mappings, stored verbatim on the site.