Skip to content

Commit

Permalink
Update release docs to 2.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Release Docs Bot committed Jan 15, 2025
1 parent b6645c1 commit b3b9409
Show file tree
Hide file tree
Showing 808 changed files with 2,714 additions and 1,951 deletions.
2 changes: 1 addition & 1 deletion docs/classes.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/conditions.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/docs.html

Large diffs are not rendered by default.

76 changes: 45 additions & 31 deletions docs/docs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"skriptVersion": "2.10.0-pre1",
"skriptVersion": "2.10.0",
"conditions": [
{
"id": "CondAlphanumeric",
Expand Down Expand Up @@ -3575,8 +3575,7 @@
"1.0, 2.10 (ignoring totem of undying)"
],
"description": [
"Kills an entity.",
"Note: This effect does not set the entity's health to 0 (which causes issues), but damages the entity by 100 times its maximum health."
"Kills an entity."
],
"examples": [
"kill the player",
Expand Down Expand Up @@ -7923,7 +7922,7 @@
"set {queue} to a new queue of \"hello\" and \"there\"\nbroadcast the last element of {queue} # removes 'there'\nadd \"world\" to {queue}\nbroadcast the first 2 elements of {queue} # removes 'hello', 'world'"
],
"patterns": [
"[a] new queue [(of|with) %-objects%]"
"[a] [new] queue [(of|with) %-objects%]"
]
},
{
Expand Down Expand Up @@ -10541,28 +10540,6 @@
"%node%'[s] nodes"
]
},
{
"id": "ExprNodeValue",
"name": "Value (Experimental)",
"since": [
"2.10"
],
"description": [
"Returns the value of a node in a loaded config.",
"The value is automatically converted to the specified type (e.g. text, number) where possible."
],
"examples": [
"set {_node} to node \"language\" in the skript config\nbroadcast the text value of {_node}",
"set {_node} to node \"update check interval\" in the skript config\n\nbroadcast text value of {_node}\n# text value of {_node} = \"12 hours\" (text)\n\nwait for {_node}'s timespan value\n# timespan value of {_node} = 12 hours (duration)"
],
"patterns": [
"[the] %*classinfo% value [at] %string% (from|in) %node%",
"[the] %*classinfo% value of %node%",
"[the] %*classinfo% values of %nodes%",
"%node%'s %*classinfo% value",
"%nodes%'[s] %*classinfo% values"
]
},
{
"id": "ExprOnlinePlayersCount",
"name": "Online Player Count",
Expand Down Expand Up @@ -11471,22 +11448,23 @@
"id": "ExprTypeOf",
"name": "Type of",
"since": [
"1.4, 2.5.2 (potion effect), 2.7 (block datas)"
"1.4, 2.5.2 (potion effect), 2.7 (block datas), 2.10 (enchantment type)"
],
"description": [
"Type of a block, item, entity, inventory or potion effect.",
"Type of a block, item, entity, inventory, potion effect or enchantment type.",
"Types of items, blocks and block datas are item types similar to them but have amounts",
"of one, no display names and, on Minecraft 1.13 and newer versions, are undamaged.",
"Types of entities and inventories are entity types and inventory types known to Skript.",
"Types of potion effects are potion effect types."
"Types of potion effects are potion effect types.",
"Types of enchantment types are enchantments."
],
"examples": [
"on rightclick on an entity:",
"\tmessage \"This is a %type of clicked entity%!\""
],
"patterns": [
"[the] type of %entitydatas/itemtypes/inventories/potioneffects/blockdatas%",
"%entitydatas/itemtypes/inventories/potioneffects/blockdatas%'[s] type"
"[the] type of %entitydatas/itemtypes/inventories/potioneffects/blockdatas/enchantmenttypes%",
"%entitydatas/itemtypes/inventories/potioneffects/blockdatas/enchantmenttypes%'[s] type"
]
},
{
Expand Down Expand Up @@ -11566,6 +11544,28 @@
"%offlineplayers/worlds/entities%'[s] UUID"
]
},
{
"id": "ExprValue",
"name": "Value",
"since": [
"2.10 (Nodes), 2.10 (Any)"
],
"description": [
"Returns the value of something that has a value, e.g. a node in a config.",
"The value is automatically converted to the specified type (e.g. text, number) where possible."
],
"examples": [
"set {_node} to node \"language\" in the skript config\nbroadcast the text value of {_node}",
"set {_node} to node \"update check interval\" in the skript config\n\nbroadcast text value of {_node}\n# text value of {_node} = \"12 hours\" (text)\n\nwait for {_node}'s timespan value\n# timespan value of {_node} = 12 hours (duration)"
],
"patterns": [
"[the] %*classinfo% value [at] %string% (from|in) %node%",
"[the] %*classinfo% value of %valued%",
"[the] %*classinfo% values of %valueds%",
"%valued%'s %*classinfo% value",
"%valueds%'[s] %*classinfo% values"
]
},
{
"id": "ExprVectorFromDirection",
"name": "Vectors - Create from Direction",
Expand Down Expand Up @@ -15838,6 +15838,20 @@
"set {_result} to the result of {_function}"
]
},
{
"id": "valued",
"name": "Any Valued Thing",
"since": "2.10",
"description": [
"Something that has a value."
],
"examples": [
"the text of {node}"
],
"patterns": [
""
]
},
{
"id": "containing",
"name": "Anything with Contents",
Expand Down
2 changes: 1 addition & 1 deletion docs/effects.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/events.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/expressions.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.html

Large diffs are not rendered by default.

Loading

0 comments on commit b3b9409

Please sign in to comment.