... | @@ -428,6 +428,16 @@ TREE_BREAKER: |
... | @@ -428,6 +428,16 @@ TREE_BREAKER: |
|
isCorrectForBlock: true
|
|
isCorrectForBlock: true
|
|
```
|
|
```
|
|
|
|
|
|
|
|
#### TooltipStyle
|
|
|
|
Used to handle the [tooltip style](https://minecraft.wiki/w/Data_component_format/tooltip_style) of an item.
|
|
|
|
The resource location of the custom sprites for the tooltip background and frame which references textures `/assets/<namespace>/textures/gui/sprites/tooltip/<id>_background` and `/assets/<namespace>/textures/gui/sprites/tooltip/<id>_frame`, which can be used with a TooltipStyle's value of <namespace>:<id>
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
ExampleItem:
|
|
|
|
Id: STONE_SWORD
|
|
|
|
TooltipStyle: minecraft:verycooltooltip
|
|
|
|
```
|
|
|
|
|
|
#### Spawner
|
|
#### Spawner
|
|
Configure the options for a SPAWNER item
|
|
Configure the options for a SPAWNER item
|
|
```yaml
|
|
```yaml
|
... | | ... | |