-
Notifications
You must be signed in to change notification settings - Fork 1
LinkAPI
Returns a table full of overlay functions, more about this in the Overlay tab. DO NOTE YOU NEED TO HAVE IT AS A VARIABLE OR send() WILL NOT WORK. (example: overlay = link.getOverlay())
Returns information about the player, such as username, dimension, health, hunger, etc. Position is only returned if you have the integrated core.
yeah this uh doesn't work at all, idk why, it's suppose to, but it just doesn't
This function will raycast to a block from your looking direction, and will return info such as position, display name, and id. The hitLiquid boolean is rather or not it will cast through liquid. Range is limited to 5, or 10 for the Integrated Link.
Same as the block raycast, but with entities instead. This will return things such as uuid, id (so like minecraft:pig I think), and if it's a entity that's alive (aka that has health) then it will show health, and other related things. Range is limited to 5, or 10 for the Integrated Link.
This function will force the player to eat any food item from any inventory slot, please note that it starts from 0 not 1. I can eventually change this if people don't like this.
This will make your player look at a certain block.
This will take a yaw and pitch and rotate the players head accordingly.
Returns a table similar to chest.list(). The functionality is going to change in the future, right now when it sees a empty slot it just skips it, so you could go from slot 1 to slot 20 and it will still be list[1] and list[2]
Returns data about the item slot in your inventory. This is also starts at slot 0.
This will move a item from a slot, to another slot. At the time of writing this there is a item deletion glitch that WILL be fixed and the wiki will be updated.