-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add item element and update img and entity
- Loading branch information
1 parent
3c5ec56
commit 313b47a
Showing
4 changed files
with
50 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
displayed_sidebar: hermes | ||
|
||
title: <item> | ||
--- | ||
|
||
# `<item>` : Item | ||
|
||
The `<item>` element is used to display an item. | ||
|
||
|
||
## Attributes | ||
|
||
`id` | ||
> The id of the item to display, in resource location format. Example: `minecraft:diamond_sword`. | ||
`tag` | ||
> The nbt tag of the ItemStack to display. | ||
`scale` | ||
> The scale of the item. Defaults to 1.0. | ||
## Examples | ||
|
||
The following example will display a diamond sword with a scale of 2.0. | ||
|
||
```html | ||
<item id="minecraft:diamond_sword" scale="2.0"/> | ||
``` | ||
|
||
## Version History | ||
|
||
| Version | Changes | | ||
|---------|------------------------------| | ||
| 1.3 | Initial release. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters