Skip to content

Commit 677c65c

Browse files
committed
Fix resource location formatting in docs
1 parent f04580d commit 677c65c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/resources/functionDocs/get_itemmeta

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,20 +124,20 @@ These fields optionally exist for any item type.
124124
|-
125125
! itemmodel
126126
| 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/&lt;namespace&gt;/items/&lt;id&gt;) (MC 1.21.3+)
128128
|-
129129
! tooltipstyle
130130
| 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/&lt;namespace&gt;/textures/gui/sprites/tooltip/&lt;id&gt;) (MC 1.21.3+)
132132
|-
133133
! equippable
134134
| associative array
135135
| 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/&lt;namespace&gt;/equipment/&lt;id&gt;.json)
137137
* '''damageable''' : (boolean) Whether the durability is damaged when the wearer is damaged. (defaults to true)
138138
* '''dispensable''' : (boolean) Whether the item can be equipped using a dispenser. (defaults to true)
139139
* '''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/&lt;namespace&gt;/textures/&lt;id&gt;)
141141
* '''slot''' : (string) The slot to put the item on. Can be %SLOTS%.
142142
* '''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.
143143
* '''swappable''' : (boolean) Whether the item can be equipped into the slot by right-clicking. (defaults to true)

0 commit comments

Comments
 (0)