Spigot
Actions exclusive to Spigot, more gameplay-oriented.
Title
Title message
action: # All three methods below are equivalent
+: TJAction
title_1: "&cMain Title, &eSubtitle, 10, 70, 20" # <Title> (Subtitle) (Fade in) (Stay) (Fade out)
title_2: "&cMain Title, &eSubtitle"
title_3:
title: "&cMain Title"
subtitle: "&eSubtitle"
fadeIn: 10
stay: 70
fadeOut: 20
Toast
Advancement/Toast message
Style
GOAL
CHALLENGE
TASK
NBT
Whether you're using component style (1.20.5+) or not, always use {}
NBT format.
Example for 1.20.5+
minecraft:turtle_scute{enchantment_glint_override:true}
action: # All three methods below are equivalent
+: TJAction
# (Style) <Item> <Message>
toast_1: "GOAL, minecraft:diamond_sword{Damage:1}, &bA diamond sword!"
toast_2: "minecraft:diamond_sword{Damage:1}, &bA diamond sword!"
toast_3:
message: "&bA diamond sword!"
item: "minecraft:diamond_sword{Damage:1}"
style: GOAL
PlaySound
Play a sound (supports custom/resource pack sounds)
action: # All three methods below are equivalent
+: TJAction
playsound_1: "ui.button.click" # <Name> (Volume = 1) (Pitch = 0)
playsound_2: "ui.button.click, 1.0, 0.0"
playsound_3:
id: "ui.button.click"
volume: 1.0
pitch: 0.0
RequireMoney
Spend money to perform an action
requiremoney:
+: TJAction
amt: "1234" # Supports simple expressions
message: "Successfully wasted $1234."
RequirePoint
Spend points to perform an action
requirepoint:
+: TJAction
amt: "1234" # Supports simple expressions
message: "Successfully wasted 1234 points."
GUI Menu Related
Last updated