You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Skript/latest/docs.json
+72-16Lines changed: 72 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,17 @@
1
1
{
2
-
"skriptVersion" : "3.0.0-Beta1",
2
+
"skriptVersion" : "3.0.0-Beta2",
3
3
4
4
"classes" : [
5
5
{
6
-
"id" : "attributetype",
7
-
"name" : "Attribute Type",
6
+
"id" : "attribute",
7
+
"name" : "Attribute",
8
8
"patterns" : [
9
9
"armor, armor toughness, attack damage, attack knockback, attack speed, block break speed, block interaction range, burning time, entity interaction range, explosion knockback resistance, fall damage multiplier, flying speed, follow range, gravity, jump strength, knockback resistance, luck, max absorption, max health, mining efficiency, movement efficiency, movement speed, oxygen bonus, safe fall distance, scale, sneaking speed, spawn reinforcements, step height, submerged mining speed, sweeping damage ratio, tempt range, water movement efficiency",
10
10
11
11
"pattern_end"
12
12
],
13
13
"since" : "2.5",
14
-
"description" : "Represents the type of an attribute. Note that this type does not contain any numerical values.See <a href='https://minecraft.wiki/w/Attribute#Attributes'>attribute types</a> for more info.\\nNOTE: Minecraft namespaces are supported, ex: 'minecraft:generic.attack_damage'.",
14
+
"description" : "Represents an attribute.\\nNote that this type does not contain any numerical values.\\nSee <a href='https://minecraft.wiki/w/Attribute#Attributes'>attributes</a> for more info.\\nThese are auto-generated and may differ between MC versions.\\nNOTE: Minecraft namespaces and underscores are supported, ex: 'minecraft:attack_damage'.",
"description" : "The distance between two points.",
6214
6234
"examples" : "if the distance between the player and {home::%uuid of player%} is smaller than 20:\\n message \"You're very close to your home!\""
6215
6235
},
6236
+
{
6237
+
"id" : "ExprDrops",
6238
+
"name" : "Drops",
6239
+
"patterns" : [
6240
+
"[the] drops",
6241
+
6242
+
"pattern_end"
6243
+
],
6244
+
"since" : "1.0",
6245
+
"description" : "Only works in death events.
6246
+
Holds the drops of the dying creature. Drops can be prevented by removing them with \"remove ... from drops\" or \"clear drops\" if you don't want any drops at all.",
6247
+
"examples" : "clear drops\\nremove itemstack of 4 of oak planks from the drops"
6248
+
},
6216
6249
{
6217
6250
"id" : "ExprDropsOfBlock",
6218
6251
"name" : "Drops Of Block",
@@ -6344,10 +6377,8 @@ To change the number of levels removed, use the enchant event.",
"examples" : "set {_i} to itemstack of 10 of diamond\\nset {_i} to itemstack of netherite shovel"
7242
+
"description" : "Create a new item stack.
7243
+
This can be used as an expression as well as a section.",
7244
+
"examples" : "set {_i} to itemstack of 10 of diamond\\nset {_i} to itemstack of netherite shovel\\n\\n# Section\\nset {_i} to itemstack of diamond sword\\n set name of item to \"My Sword\"\\n set custom model data of item to 1010\\ngive {_i} to player"
7189
7245
},
7190
7246
{
7191
7247
"id" : "ExprItemsIn",
@@ -8623,7 +8679,7 @@ or can be reset to the default icon in a <a href='events.html#server_list_ping'>
8623
8679
],
8624
8680
"since" : "1.0 pre-5, 2.7 (classinfo)",
8625
8681
"description" : "Returns a list of all the values of a type. Useful for looping.",
8626
-
"examples" : "loop all attribute types:\\n set loop-value attribute of player to 10\\n message \"Set attribute %loop-value% to 10!\""
8682
+
"examples" : "loop all attributes:\\n set loop-value attribute of player to 10\\n message \"Set attribute %loop-value% to 10!\""
0 commit comments