mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-04-27 05:03:16 +00:00

This adds documentation comments to many of CC's Lua APIs, and a couple of the Java ones, through the use of stubs. We then export these to HTML using illuaminate [1] and upload them to our documentation site [2]. Uploads currently occur on pushes to master and any release/tag. The site is entirely static - there is no way to switch between versions, etc... but hopefully we can improve this in the future. [1]: github.com/SquidDev/illuaminate/ [2]: https://tweaked.cc/
43 lines
1.1 KiB
Lua
43 lines
1.1 KiB
Lua
function forward() end
|
|
function back() end
|
|
function up() end
|
|
function down() end
|
|
function turnLeft() end
|
|
function turnRight() end
|
|
function dig(side) end
|
|
function digUp(side) end
|
|
function digDown(side) end
|
|
function place() end
|
|
function placeUp() end
|
|
function placeDown() end
|
|
function drop(count) end
|
|
function select(slot) end
|
|
function getItemCount(slot) end
|
|
function getItemSpace(slot) end
|
|
function detect() end
|
|
function detectUp() end
|
|
function detectDown() end
|
|
function compare() end
|
|
function compareUp() end
|
|
function compareDown() end
|
|
function attack(side) end
|
|
function attackUp(side) end
|
|
function attackDown(side) end
|
|
function dropUp(count) end
|
|
function dropDown(count) end
|
|
function suck(count) end
|
|
function suckUp(count) end
|
|
function suckDown(count) end
|
|
function getFuelLevel() end
|
|
function refuel(count) end
|
|
function compareTo(slot) end
|
|
function transferTo(slot, count) end
|
|
function getSelectedSlot() end
|
|
function getFuelLimit() end
|
|
function equipLeft() end
|
|
function equipRight() end
|
|
function inspect() end
|
|
function inspectUp() end
|
|
function inspectDown() end
|
|
function getItemDetail(slot) end
|