Versions in this module Expand all Collapse all v0 v0.1.0 Apr 29, 2024 Changes in this version + func CloseContainer(p *player.Player) + func PlaceFakeContainer(w *world.World, pos cube.Pos) + func RedirectPlayerPackets(p *player.Player) + func SendMenu(p *player.Player, m Menu) + func UpdateMenu(p *player.Player, m Menu) + type Closer interface + Close func(p *player.Player) + type Container interface + Block func() world.Block + Size func() int + Type func() int + type ContainerBarrel struct + func (ContainerBarrel) Block() world.Block + func (ContainerBarrel) Size() int + func (ContainerBarrel) Type() int + type ContainerChest struct + DoubleChest bool + func (ContainerChest) Block() world.Block + func (ContainerChest) Type() int + func (c ContainerChest) Size() int + type ContainerDropper struct + func (ContainerDropper) Block() world.Block + func (ContainerDropper) Size() int + func (ContainerDropper) Type() int + type ContainerHopper struct + func (ContainerHopper) Block() world.Block + func (ContainerHopper) Size() int + func (ContainerHopper) Type() int + type Menu struct + func NewMenu(submittable Submittable, name string, container Container) Menu + func (m Menu) WithStacks(stacks ...item.Stack) Menu + type Submittable interface + Submit func(p *player.Player, it item.Stack)