Changes:
1) Added support for placeholders in Iterator catalogue
2) Added material-only check for heldItem rule (by special condition)
3) Fixed miniMessage sending on 1.21
4) Fixed refreshMenu for generated menu by matrix (refreshes the number of items)
now you can check only material by heldItem:
heldItem: {material: DIAMOND_SWORD}
And you can make this checker for item:
Code (Text):
{
slot: 1
material: "STONE"
click {
rules {
or: [
{heldItem: {material: DIAMOND_SWORD}},
{heldItem: {material: STONE}}
]
}
actions: {
message: "&aSpecial item in hand"
}
denyActions: {
message: "&cNo special item in hand"
}
}
}