|
@@ -855,6 +855,16 @@
|
|
<td class="bold">Format</td>
|
|
<td class="bold">Format</td>
|
|
<td>block.hasTag(tag, Block)</td>
|
|
<td>block.hasTag(tag, Block)</td>
|
|
</tr>
|
|
</tr>
|
|
|
|
+ </table>
|
|
|
|
+ <table>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="command">block.getProperties</th>
|
|
|
|
+ <th class="desc">returns a collection of properties</th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td class="bold">Format</td>
|
|
|
|
+ <td>block.getProperties(location)</td>
|
|
|
|
+ </tr>
|
|
</table>
|
|
</table>
|
|
<table>
|
|
<table>
|
|
<tr>
|
|
<tr>
|
|
@@ -872,12 +882,42 @@
|
|
</table>
|
|
</table>
|
|
<table>
|
|
<table>
|
|
<tr>
|
|
<tr>
|
|
- <th class="command">block.getState</th>
|
|
|
|
- <th class="desc">returns the state as double, string or boolean, demanding on the property</th>
|
|
|
|
|
|
+ <th class="command">block.property.getValue</th>
|
|
|
|
+ <th class="desc">returns the value of a property as double, string or boolean, demanding on the property</th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td class="bold">Format</td>
|
|
|
|
+ <td>block.property.getValue(location, property)</td>
|
|
|
|
+ </tr>
|
|
|
|
+ </table>
|
|
|
|
+ <table>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="command">block.property.setInt</th>
|
|
|
|
+ <th class="desc">sets the value of a property</th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td class="bold">Format</td>
|
|
|
|
+ <td>block.property.setInt(location, property, int)</td>
|
|
|
|
+ </tr>
|
|
|
|
+ </table>
|
|
|
|
+ <table>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="command">block.property.setBool</th>
|
|
|
|
+ <th class="desc">sets the value of a property</th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td class="bold">Format</td>
|
|
|
|
+ <td>block.property.setBool(location, property, boolean)</td>
|
|
|
|
+ </tr>
|
|
|
|
+ </table>
|
|
|
|
+ <table>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="command">block.property.setEnum</th>
|
|
|
|
+ <th class="desc">sets the value of a property</th>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
<td class="bold">Format</td>
|
|
<td class="bold">Format</td>
|
|
- <td>block.getState(location, property)</td>
|
|
|
|
|
|
+ <td>block.property.setEnum(location, property, string))</td>
|
|
</tr>
|
|
</tr>
|
|
</table>
|
|
</table>
|
|
<table>
|
|
<table>
|
|
@@ -3866,25 +3906,6 @@
|
|
<td>entity.getLocation(entity / player)</td>
|
|
<td>entity.getLocation(entity / player)</td>
|
|
</tr>
|
|
</tr>
|
|
</table>
|
|
</table>
|
|
- <table>
|
|
|
|
- <tr>
|
|
|
|
- <th class="command">entity.setHealth</th>
|
|
|
|
- <th class="desc">sets the health points for an entity</th>
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <td class="bold">Format</td>
|
|
|
|
- <td>entity.setHealth(entity / player, amount)</td>
|
|
|
|
- </tr>
|
|
|
|
- </table>
|
|
|
|
- <table>
|
|
|
|
- <tr>
|
|
|
|
- <th class="command">entity.getHealth</th>
|
|
|
|
- <th class="desc">returns the health points from an entity</th>
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <td class="bold">Format</td>
|
|
|
|
- <td>entity.getHealth(entity / player)</td>
|
|
|
|
- </tr>
|
|
|
|
<table>
|
|
<table>
|
|
<tr>
|
|
<tr>
|
|
<th class="command">entity.teleport</th>
|
|
<th class="command">entity.teleport</th>
|
|
@@ -3929,34 +3950,6 @@
|
|
<td>entity.setInvisible(entity / player, boolean)</td>
|
|
<td>entity.setInvisible(entity / player, boolean)</td>
|
|
</tr>
|
|
</tr>
|
|
</table>
|
|
</table>
|
|
- <table>
|
|
|
|
- <tr>
|
|
|
|
- <th class="command">entity.setEquip</th>
|
|
|
|
- <th class="desc">set the equipment of an entity</th>
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <td class="bold">Format</td>
|
|
|
|
- <td>entity.setEquip(entity / player, bodypart, itemstack)</td>
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <td class="bold">Info</td>
|
|
|
|
- <td>bodypart: "head" / "chest" / "legs" / "feet" / "hand" / "offhand"</td>
|
|
|
|
- </tr>
|
|
|
|
- </table>
|
|
|
|
- <table>
|
|
|
|
- <tr>
|
|
|
|
- <th class="command">entity.getEquip</th>
|
|
|
|
- <th class="desc">returns the equipment of an entity</th>
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <td class="bold">Format</td>
|
|
|
|
- <td>entity.getEquip(entity / player, bodypart)</td>
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <td class="bold">Arguments</td>
|
|
|
|
- <td>bodypart: "head" / "chest" / "legs" / "feet" / "hand" / "offhand"</td>
|
|
|
|
- </tr>
|
|
|
|
- </table>
|
|
|
|
<table>
|
|
<table>
|
|
<tr>
|
|
<tr>
|
|
<th class="command">entity.clearEffects</th>
|
|
<th class="command">entity.clearEffects</th>
|
|
@@ -4116,34 +4109,6 @@
|
|
<td class="bold">Format</td>
|
|
<td class="bold">Format</td>
|
|
<td>entity.spawn(type, location, [daten])</td>
|
|
<td>entity.spawn(type, location, [daten])</td>
|
|
</tr>
|
|
</tr>
|
|
- </table>
|
|
|
|
- <table>
|
|
|
|
- <tr>
|
|
|
|
- <th class="command">entity.heal</th>
|
|
|
|
- <th class="desc">heals an entity</th>
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <td class="bold">Format</td>
|
|
|
|
- <td>entity.heal(entity, heal_amount)</td>
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <td class="bold">Info</td>
|
|
|
|
- <td>triggers events on the next server tick</td>
|
|
|
|
- </tr>
|
|
|
|
- </table>
|
|
|
|
- <table>
|
|
|
|
- <tr>
|
|
|
|
- <th class="command">entity.damage</th>
|
|
|
|
- <th class="desc">damages an entity</th>
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <td class="bold">Format</td>
|
|
|
|
- <td>entity.damage(entity, damage_amount, [damagesource])</td>
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <td class="bold">Info</td>
|
|
|
|
- <td>triggers events on the next server tick</td>
|
|
|
|
- </tr>
|
|
|
|
</table>
|
|
</table>
|
|
<table>
|
|
<table>
|
|
<tr>
|
|
<tr>
|
|
@@ -4232,16 +4197,6 @@
|
|
<td>entity.near(location / entity, radius)</td>
|
|
<td>entity.near(location / entity, radius)</td>
|
|
</tr>
|
|
</tr>
|
|
</table>
|
|
</table>
|
|
- <table>
|
|
|
|
- <tr>
|
|
|
|
- <th class="command">entity.fromSource</th>
|
|
|
|
- <th class="desc">returns the entity from a damagesource</th>
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <td class="bold">Format</td>
|
|
|
|
- <td>entity.fromSource(damagesource)</td>
|
|
|
|
- </tr>
|
|
|
|
- </table>
|
|
|
|
<table>
|
|
<table>
|
|
<tr>
|
|
<tr>
|
|
<th class="command">entity.getLook</th>
|
|
<th class="command">entity.getLook</th>
|
|
@@ -4331,6 +4286,82 @@
|
|
</table>
|
|
</table>
|
|
</section>
|
|
</section>
|
|
<section id="Living">
|
|
<section id="Living">
|
|
|
|
+ <table>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="command">living.setHealth</th>
|
|
|
|
+ <th class="desc">sets the health points for an living_entity</th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td class="bold">Format</td>
|
|
|
|
+ <td>living.setHealth(living_entity, amount)</td>
|
|
|
|
+ </tr>
|
|
|
|
+ </table>
|
|
|
|
+ <table>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="command">living.getHealth</th>
|
|
|
|
+ <th class="desc">returns the health points from an living_entity</th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td class="bold">Format</td>
|
|
|
|
+ <td>living.getHealth(living_entity)</td>
|
|
|
|
+ </tr>
|
|
|
|
+ </table>
|
|
|
|
+ <table>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="command">living.damage</th>
|
|
|
|
+ <th class="desc">damages an living_entity</th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td class="bold">Format</td>
|
|
|
|
+ <td>living.damage(living_entity, damage_amount, [damagesource])</td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td class="bold">Info</td>
|
|
|
|
+ <td>triggers events on the next server tick</td>
|
|
|
|
+ </tr>
|
|
|
|
+ </table>
|
|
|
|
+ <table>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="command">living.heal</th>
|
|
|
|
+ <th class="desc">heals an living_entity</th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td class="bold">Format</td>
|
|
|
|
+ <td>living.heal(living_entity, heal_amount)</td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td class="bold">Info</td>
|
|
|
|
+ <td>triggers events on the next server tick</td>
|
|
|
|
+ </tr>
|
|
|
|
+ </table>
|
|
|
|
+ <table>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="command">living.setEquip</th>
|
|
|
|
+ <th class="desc">set the equipment of an living_entity</th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td class="bold">Format</td>
|
|
|
|
+ <td>living.setEquip(living_entity, bodypart, itemstack)</td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td class="bold">Info</td>
|
|
|
|
+ <td>bodypart: "head" / "chest" / "legs" / "feet" / "hand" / "offhand"</td>
|
|
|
|
+ </tr>
|
|
|
|
+ </table>
|
|
|
|
+ <table>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="command">living.getEquip</th>
|
|
|
|
+ <th class="desc">returns the equipment of an living_entity</th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td class="bold">Format</td>
|
|
|
|
+ <td>living.getEquip(living_entity, bodypart)</td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td class="bold">Arguments</td>
|
|
|
|
+ <td>bodypart: "head" / "chest" / "legs" / "feet" / "hand" / "offhand"</td>
|
|
|
|
+ </tr>
|
|
|
|
+ </table>
|
|
<table>
|
|
<table>
|
|
<tr>
|
|
<tr>
|
|
<th class="command">living.near</th>
|
|
<th class="command">living.near</th>
|