You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/resources/functionDocs/get_itemmeta
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -124,20 +124,20 @@ These fields optionally exist for any item type.
124
124
|-
125
125
! itemmodel
126
126
| string
127
-
| Overrides the item's model using a namespaced resource location. (/assets/<namespace>/items/<id>) (MC 1.21.3+)
127
+
| Overrides the item's model using a namespaced resource location. (/assets/<namespace>/items/<id>) (MC 1.21.3+)
128
128
|-
129
129
! tooltipstyle
130
130
| string
131
-
| Overrides the item's tooltip style using a namespaced resource location. (/assets/<namespace>/textures/gui/sprites/tooltip/<id>) (MC 1.21.3+)
131
+
| Overrides the item's tooltip style using a namespaced resource location. (/assets/<namespace>/textures/gui/sprites/tooltip/<id>) (MC 1.21.3+)
132
132
|-
133
133
! equippable
134
134
| associative array
135
135
| Overrides the item's equippable component. Requires a slot. (MC 1.21.3+)
136
-
* '''asset''' : (string) If this namespaced resource location is present, the equipment asset will be used to determine the model when the item is equipped. (assets/<namespace>/equipment/<id>.json)
136
+
* '''asset''' : (string) If this namespaced resource location is present, the equipment asset will be used to determine the model when the item is equipped. (assets/<namespace>/equipment/<id>.json)
137
137
* '''damageable''' : (boolean) Whether the durability is damaged when the wearer is damaged. (defaults to true)
138
138
* '''dispensable''' : (boolean) Whether the item can be equipped using a dispenser. (defaults to true)
139
139
* '''entities''' : (array) If present, only the listed living entity types can equip this item. Entity tags cannot be set and are converted to an array of types when read.
140
-
* '''overlay''' : (string) If this namespaced resource location is present, the texture will be used as a camera overlay when the item is equipped. (assets/<namespace>/textures/<id>)
140
+
* '''overlay''' : (string) If this namespaced resource location is present, the texture will be used as a camera overlay when the item is equipped. (assets/<namespace>/textures/<id>)
141
141
* '''slot''' : (string) The slot to put the item on. Can be %SLOTS%.
142
142
* '''sound''' : (string) The namespaced id of the sound played when the item is equipped. (defaults to 'item.armor.equip_generic') New sound event definitions are not supported here.
143
143
* '''swappable''' : (boolean) Whether the item can be equipped into the slot by right-clicking. (defaults to true)
0 commit comments