Skip to content

Commit

Permalink
Updated function documentation
Browse files Browse the repository at this point in the history
Updated remove slot, send and setdata.
  • Loading branch information
virustotalop committed Sep 7, 2018
1 parent 9ac8e6d commit be4a9d2
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions docs/functions/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,31 +126,48 @@ Sends the player the message "Hello!".
Remove Slot
===========

Removes the current slot.

Usage::


===========
Remove Slot
===========

removeslot: this
Removes the slot from which the function is called.


=====================
Send player to server
=====================

Sends the player to a server.

Usage::

send: testserver
Sends the player to the server "testserver".


================
Set data on slot
================

Set data on the current slot, can be used in 1.12 and below.

Usage::

setdata: 1
Sets the data value of the current slot to 1.


====================
Set enchants on slot
====================

Sets enchants on the current slot.




================
Expand Down

0 comments on commit be4a9d2

Please sign in to comment.