Confirmedusers, editor
982
edits
(Marked this version for translation) Tags: Mobile edit Mobile web edit |
Craluminum (talk | contribs) (Updated to 1.18) |
||
Line 4: | Line 4: | ||
<!--T:1--> | <!--T:1--> | ||
<onlyinclude> | <onlyinclude> | ||
*<code>/entity [ | *<code>/entity [subcommand]</code><br /> Spawn, remove, and count entities (item drops, creatures, etc). | ||
**<code>/entity | **<code>/entity cmd [subcommand]</code><br /> Issue commands on existing entities | ||
**<code>/entity | ***<code>/entity cmd stopanim</code><br /> Stop an entity animation. | ||
**<code>/entity | ***<code>/entity cmd stoptask</code><br /> Start an ai task. | ||
**<code>/entity | ***<code>/entity cmd setattr</code><br /> Set entity attributes. | ||
**<code>/entity | ***<code>/entity cmd setgen</code><br /> Set entity generation. | ||
**<code>/entity | ***<code>/entity cmd setlact</code><br /> Set entity lactating. | ||
**<code>/entity | ***<code>/entity cmd move</code><br /> Move a creature. | ||
**<code>/entity | ***<code>/entity cmd kill</code><br /> Kill a creature. | ||
***<code>/entity cmd wipeall</code><br /> Removes all entities except players from all loaded chunks. | |||
**<code>/entity debug [0|1]</code><br /> Enable entity debug mode, this will send continous debug information to all connected clients, which are displayed above the entity if the client used the command '''.clientConfig showEntitydebuginfo 1''' | **<code>/entity debug [0|1]</code><br /> Enable entity debug mode, this will send continous debug information to all connected clients, which are displayed above the entity if the client used the command '''.clientConfig showEntitydebuginfo 1''' | ||
**<code>/entity | **<code>/entity spawndebug [0|1]</code><br /> Enable entity spawn debug mode. | ||
**<code>/entity count [<i>entityfilter</i>]</code><br /> Count entities by code/filter and show a summary. | |||
**<code>/entity countg [<i>entityfilter</i>]</code><br /> Count entities by code/filter and show a summary grouped by first code part. | |||
**<code>/entity spawnat [entitytype] [amount] [position] [radius]</code><br /> Spawn an entity by type at given position, within a given radius. Valid types can be found in the survival mod assets folder /entities. | |||
**<code>/entity remove [<i>entityfilter</i>]</code><br /> Remove selected creatures. | |||
<i>entity filter</i> is either a player name, or else one of the following selection codes: | |||
* <code>s[]</code> for self. | |||
* <code>l[]</code> for the entity currently looked at. | |||
* <code>p[]</code> for all players. | |||
* <code>e[]</code> for all entities. | |||
Inside the square brackets, one or more filters can be added, to be more selective. Filters include name, type, class, alive, range. For example, <code>e[type=gazelle,range=3,alive=true]</code>. | |||
The filters minx/miny/minz/maxx/maxy/maxz can also be used to specify a volume to search, coordinates are relative to the command caller's position. | |||
Find the entity id by using '''.clientConfig showEntityDebuginfo'''. Useful for removing a specific trader permanently, for instance. | |||
This argument may be omitted if the remainder of the command makes sense, in which case it will be interpreted as self. | |||
</onlyinclude> | </onlyinclude> | ||
<!--T:2--> | <!--T:2--> | ||
[[List of server commands]] | [[List of server commands]] | ||
</translate> | </translate> |