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

x/replcraft/lib/inventory/slot/slot.ts>Slot#move

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

Move the item to another container.

Parameters

location: Location

Location of the targer container

optional
amount: number

How many items to move

optional
index: number

Which container index to move the items to

Returns

Promise<void>