https://minecraft.wiki/
The Minecraft Wiki has now moved to minecraft.wiki. Here is a brief rundown of the changes we were able to implement in the new wiki:
- A new skin
- Faster load times
- Fewer ads
- Improved search functionality
- Removed age popup
- Reintroduced anonymous editing
Consider checking out the full announcement on the new wiki for a more detailed explanation.
- count: Test the number of items in this item stack. Use an integer to test for a single value. Use an object with
minandmaxkeys to test for a range of values (inclusive).- max
- min
- durability: Test the durability of the items in this stack, represented by the number of uses remaining (not number of uses consumed). Use an integer to test for a single value. Use an object with
minandmaxkeys to test for a range of values (inclusive).- max
- min
- enchantments: Test the enchantments on the items in this stack. To pass, all items within the list must be satisfied by at least one enchantment on the item that matches.
- : A single enchantment to test for.
- enchantment: The enchantment ID to test for.
- levels: The level(s) of enchantments that can satisfy this condition. Use an integer to test for a single value. Use an object with
minandmaxkeys to test for a range of values (inclusive).- max: The maximum value.
- min: The minimum value.
- : A single enchantment to test for.
- stored_enchantments: To test for stored enchantments on an enchanted book.
- Follows same format as enchantments above.
- items: Test the type of item in the item stack. Accepts a list of item IDs. Passes if the item's ID matches any of the listed values.
- nbt: Test for any other NBT tags that may be present on the item. The outer braces of the NBT
{ }must be present within this string. Additional care is required if the NBT contains quotation marks" ", as they must be escaped with a backslash\". - potion: Test the type of potion this item is. Uses
minecraft:emptyif the item is not a potion. Accepts a brewed potion ID. - tag: Test if the item ID of this item is listed within a data pack item tag. Accepts the resource location of a valid item tag.
- count: Test the number of items in this item stack. Use an integer to test for a single value. Use an object with