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

x/replcraft/lib/client.ts>Client#getPowerLevel

A library to control special structures on the ReplCraft Minecraft server
Latest
method Client.prototype.getPowerLevel
import { Client } from "https://deno.land/x/replcraft@v1.1.0/lib/client.ts";

Get the power level of a redstone source.

Parameters

location: Location

Location of the redstone source

Returns

Promise<number>

Power level of the redstone source, 0-15