|
@@ -84,7 +84,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)<br>entity<br>hand ("MAIN_HAND", "OFF_HAND")<br>*cancel</td>
|
|
|
+ <td>player<br>entity<br>hand ("MAIN_HAND", "OFF_HAND")<br>*cancel</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</table>
|
|
@@ -135,7 +135,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)<br>*cancel</td>
|
|
|
+ <td>player<br>*cancel</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -145,7 +145,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)<br>*cancel</td>
|
|
|
+ <td>player<br>*cancel</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -155,7 +155,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)</td>
|
|
|
+ <td>player</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Info</td>
|
|
@@ -169,7 +169,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)</td>
|
|
|
+ <td>player</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Info</td>
|
|
@@ -203,7 +203,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)<br>sneak as boolean</td>
|
|
|
+ <td>player<br>sneak as boolean</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -223,7 +223,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)<br>item<br>*cancel</td>
|
|
|
+ <td>player<br>item<br>*cancel</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -233,7 +233,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)<br>entity (item)<br>item<br>*cancel</td>
|
|
|
+ <td>player<br>entity (item)<br>item<br>*cancel</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -243,7 +243,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)<br>id</td>
|
|
|
+ <td>player<br>id</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -253,7 +253,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)<br>block as object<br>block_loc<br>block_type (e.g. "minecraft:wool", "km:artefact")<br>*cancel</td>
|
|
|
+ <td>player<br>block as object<br>block_loc<br>block_type (e.g. "minecraft:wool", "km:artefact")<br>*cancel</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -263,7 +263,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)<br>block as object<br>block_loc<br>block_type</td>
|
|
|
+ <td>player<br>block as object<br>block_loc<br>block_type</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -273,7 +273,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)<br>block as object<br>block_loc<br>block_type<br>action ("left", "right")<br>hand ("MAIN_HAND", "OFF_HAND")<br>*cancel</td>
|
|
|
+ <td>player<br>block as object<br>block_loc<br>block_type<br>action ("left", "right")<br>hand ("MAIN_HAND", "OFF_HAND")<br>*cancel</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -283,7 +283,21 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)<br>has_block as boolean<br>**block<br>**block_loc<br>**block_type<br>*cancel</td>
|
|
|
+ <td>player<br>has_block as boolean<br>**block<br>**block_loc<br>**block_type<br>*cancel</td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ <table>
|
|
|
+ <tr>
|
|
|
+ <th class="command">container_click</th>
|
|
|
+ <th class="desc">a slot in an container gets clicked</th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="bold">Variablen</td>
|
|
|
+ <td>player<br>slot as double<br>item_list<br>type as string<br>drag_type as double<br>click_type as string<br>*cancel</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="bold">Info</td>
|
|
|
+ <td>Custom inventories are not script-across.</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -293,7 +307,11 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)<br>item<br>inv<br>inv_name<br>inv_slot as number<br>inv_id<br>*cancel</td>
|
|
|
+ <td>player<br>item<br>inv<br>inv_name<br>inv_slot as number<br>inv_id<br>click_type<br>*cancel</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="bold">Info</td>
|
|
|
+ <td>Custom inventories are not script-across.</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -303,7 +321,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)<br>inv<br>inv_id<br>inv_name</td>
|
|
|
+ <td>player<br>inv<br>inv_id<br>inv_name</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -333,7 +351,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)<br>*result</td>
|
|
|
+ <td>player<br>*result</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -343,7 +361,17 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)<br>from world as string<br>to world as string</td>
|
|
|
+ <td>player<br>from world as string<br>to world as string</td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ <table>
|
|
|
+ <tr>
|
|
|
+ <th class="command">ender_teleport</th>
|
|
|
+ <th class="desc">an enderpearl lands</th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="bold">Variablen</td>
|
|
|
+ <td>living_entity<br>location<b>*cancel</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -353,7 +381,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)<br>rod_damage<br>hook (entity)<br>*drops with itemstacks as list<br>*cancel</td>
|
|
|
+ <td>player<br>rod_damage<br>hook (entity)<br>*drops with itemstacks as list<br>*cancel</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -363,7 +391,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)<br>command as string<br>*cancel</td>
|
|
|
+ <td>player<br>command as string<br>*cancel</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -373,7 +401,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player (null if console)<br>player_name (null if console) (deprecated)<br>command as string<br>args as list</td>
|
|
|
+ <td>player (null if console)<br>player_name (null if console) (deprecated)<br>command as string<br>args as list<br>text_args as list with strings only</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -383,7 +411,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)<br>message as string<br>*cancel</td>
|
|
|
+ <td>player<br>message as string<br>*cancel</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -413,7 +441,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)<br>hand ("MAIN_HAND", "OFF_HAND")<br>*cancel</td>
|
|
|
+ <td>player<br>hand ("MAIN_HAND", "OFF_HAND")<br>*cancel</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -423,7 +451,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)</td>
|
|
|
+ <td>player</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -433,7 +461,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)<br>key as number from 1 to 9<br>*cancel</td>
|
|
|
+ <td>player<br>key as number from 1 to 9<br>*cancel</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -493,7 +521,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)<br>var</td>
|
|
|
+ <td>player<br>var</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -503,7 +531,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)</td>
|
|
|
+ <td>player</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -513,7 +541,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Variablen</td>
|
|
|
- <td>player<br>player_name (deprecated)</td>
|
|
|
+ <td>player</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -526,6 +554,16 @@
|
|
|
<td>world</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
+ <table>
|
|
|
+ <tr>
|
|
|
+ <th class="command">vote</th>
|
|
|
+ <th class="desc">a vote gets received</th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="bold">Variablen</td>
|
|
|
+ <td>from<br>name<br>ip<br>timestamp</td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
</section>
|
|
|
<section id="Event">
|
|
|
<table>
|
|
@@ -929,6 +967,16 @@
|
|
|
<td class="bold">Format</td>
|
|
|
<td>block.setState(location, state, [boolean])</td>
|
|
|
</tr>
|
|
|
+ </table>
|
|
|
+ <table>
|
|
|
+ <tr>
|
|
|
+ <th class="command">block.getState</th>
|
|
|
+ <th class="desc">returns the state of a block</th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="bold">Format</td>
|
|
|
+ <td>block.getState(block)</td>
|
|
|
+ </tr>
|
|
|
</table>
|
|
|
<table>
|
|
|
<tr>
|
|
@@ -1290,6 +1338,16 @@
|
|
|
<td>setMOTD(text)</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
+ <table>
|
|
|
+ <tr>
|
|
|
+ <th class="command">modTimer</th>
|
|
|
+ <th class="desc">modifies the timer for the auto scheduler</th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="bold">Format</td>
|
|
|
+ <td>modTimer(milliseconds as long)</td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
</section>
|
|
|
<section id="Item">
|
|
|
<table>
|
|
@@ -1413,6 +1471,36 @@
|
|
|
operation: 0 (ADDITION), 1 (MULTIPLY_BASE), 2 (MULTIPLY_TOTAL)
|
|
|
</td>
|
|
|
</tr>
|
|
|
+ </table>
|
|
|
+ <table>
|
|
|
+ <tr>
|
|
|
+ <th class="command">item.clearAttributes</th>
|
|
|
+ <th class="desc">removes all custom attributes from an itemstack</th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="bold">Format</td>
|
|
|
+ <td>item.clearAttributes(itemstack)</td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ <table>
|
|
|
+ <tr>
|
|
|
+ <th class="command">item.hasAttributes</th>
|
|
|
+ <th class="desc">returns true if an itemstack has custom attributes</th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="bold">Format</td>
|
|
|
+ <td>item.hasAttributes(itemstack)</td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ <table>
|
|
|
+ <tr>
|
|
|
+ <th class="command">item.addDefaultTags</th>
|
|
|
+ <th class="desc">adds the default attributes to an itemstack</th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="bold">Format</td>
|
|
|
+ <td>item.addDefaultTags(itemstack)</td>
|
|
|
+ </tr>
|
|
|
</table>
|
|
|
<table>
|
|
|
<tr>
|
|
@@ -1527,6 +1615,16 @@
|
|
|
<td class="bold">Format</td>
|
|
|
<td>item.setDamage(itemstack, amount)</td>
|
|
|
</tr>
|
|
|
+ </table>
|
|
|
+ <table>
|
|
|
+ <tr>
|
|
|
+ <th class="command">item.getDamage</th>
|
|
|
+ <th class="desc">returns the damage of an itemstack</th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="bold">Format</td>
|
|
|
+ <td>item.getDamage(itemstack)</td>
|
|
|
+ </tr>
|
|
|
</table>
|
|
|
<table>
|
|
|
<tr>
|
|
@@ -2230,7 +2328,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="bold">Format</td>
|
|
|
- <td>plot.add(location1, location2)</td>
|
|
|
+ <td>plot.add(location1, location2, [plot_id])</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table>
|
|
@@ -4220,6 +4318,46 @@
|
|
|
<td class="bold">Format</td>
|
|
|
<td>entity.getMotion(entity)</td>
|
|
|
</tr>
|
|
|
+ </table>
|
|
|
+ <table>
|
|
|
+ <tr>
|
|
|
+ <th class="command">entity.addTag</th>
|
|
|
+ <th class="desc">adds a tag to an entity</th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="bold">Format</td>
|
|
|
+ <td>entity.addTag(entity, tag as string)</td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ <table>
|
|
|
+ <tr>
|
|
|
+ <th class="command">entity.removeTag</th>
|
|
|
+ <th class="desc">removes a tag from an entity</th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="bold">Format</td>
|
|
|
+ <td>entity.removeTag(entity, tag as string)</td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ <table>
|
|
|
+ <tr>
|
|
|
+ <th class="command">entity.clearTag</th>
|
|
|
+ <th class="desc">removes all tags from an entity</th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="bold">Format</td>
|
|
|
+ <td>entity.clearTag(entity)</td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ <table>
|
|
|
+ <tr>
|
|
|
+ <th class="command">entity.hasTag</th>
|
|
|
+ <th class="desc">returns true if an entity has a tag</th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="bold">Format</td>
|
|
|
+ <td>entity.hasTag(entity, tag as string)</td>
|
|
|
+ </tr>
|
|
|
</table>
|
|
|
<table>
|
|
|
<tr>
|