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#getInventory

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

Get the contents of a container within the structure.

Parameters

location: Location

Location of the container, e.g. chest or barrel

Returns

Promise<ItemSlot[]>

The inventory's contents