Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/replcraft/lib/action.ts>ActionType

A library to control special structures on the ReplCraft Minecraft server
Latest
enum ActionType
import { ActionType } from "https://deno.land/x/replcraft@v1.1.0/lib/action.ts";

Members

Authenticate = "authenticate"

Authenticate to the ReplCraft server

Craft = "craft"

Craft an item using its recipe

GetBlock = "get_block"

Get a block within the structure

GetEntities = "get_entities"

Get a list of entities

GetFuelInfo = "fuelinfo"

Get information about the current fuel usage

GetInventory = "get_inventory"

Get the contents of a container inside of the structure

GetLocation = "get_location"

Get the world location of the structure

GetPowerLevel = "get_power_level"

Get the power level of a redstone source

GetSignText = "get_sign_text"

Get the text of a sign

GetSize = "get_size"

Get the size of the structure

Heartbeat = "heartbeat"

Keep the connection alive

MoveItem = "move_item"

Move an item inside of a container to another slot

Pay = "pay"

Give money to another player

Poll = "poll"

Poll a block for updates

PollAll = "poll_all"

Poll all of the structure's blocks at once

SetBlock = "set_block"

Set a block within the structure

SetSignText = "set_sign_text"

Update the text of a sign

Tell = "tell"

Tell the player a message privately

TransactionRespond = "respond"

Respond to a transaction

Unpoll = "unpoll"

Stop polling a block for updates

UnpollAll = "unpoll_all"

Unpoll all of the structure's blocks at once

Unwatch = "unwatch"

Stop watching a block for updates

UnwatchAll = "watch_all"

Unwatch all of the structure's blocks at once

Watch = "watch"

Watch a block for updates

WatchAll = "watch_all"

Watch all of the structure's blocks at once