actions:action_types:modify_sign
Table of Contents
minecraft:modify_sign
The minecraft:modify_sign
action modifies a Sign's color, glow and wax properties.
This action is unsuccessful if this
player does not exist, if the sign is already waxed or if no changes were made to the sign.
Fields
Name | Description | Type | Default Value |
---|---|---|---|
position | The position to target. | An action context parameter | |
color | The color to give the sign. If not present, won't change the color. | An optional dye | |
glow | Whether to make the sign glow or not. If not present, won't change the glow. | An optional boolean | |
wax | Whether to make the sign waxed or not. If not present, won't change the wax. | An optional boolean |
Example
{ "type": "minecraft:modify_sign", "position": "target", "glow": true }
actions/action_types/modify_sign.txt · Last modified: 2024/05/02 16:01 by errorcraft