Expand description
Item components whose codecs recursively contain item stack templates.
Macrosยง
Structsยง
- Bundle
Contents - The ordered item templates stored in a bundle.
- Charged
Projectiles - The non-empty projectile templates loaded into a crossbow.
- Checked
Fraction ๐ - Positive subset of Commons Lang
Fractionused byBundleContents. - Container
Slot ๐ - Item
Container Contents - Up to 256 dense optional container slots.
- Sulfur
Cube Content - The non-empty absorbed block item carried by a sulfur cube.
- UseRemainder
- The item template produced after consuming an item.
Functionsยง
- bundle_
item_ ๐weight - checked_
add ๐ - checked_
mul ๐ - container_
slot_ ๐nbt - gcd ๐
- gcd_i64 ๐
- hash_
container_ ๐slot - hash_
template_ ๐list - push_
hash_ ๐entry - read_
count ๐ - read_
template_ ๐list - template_
list_ ๐from_ nbt - template_
list_ ๐nbt - validate_
templates ๐ - write_
count ๐ - write_
template_ ๐list