we

package module
v0.0.0-...-6250647 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2022 License: MIT Imports: 8 Imported by: 0

README

we

World editing library for Dragonfly

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	player.NopHandler
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(p *player.Player) *Handler

func (*Handler) HandleBlockBreak

func (h *Handler) HandleBlockBreak(ctx *event.Context, pos cube.Pos, drops *[]item.Stack)

func (*Handler) HandleItemUse

func (h *Handler) HandleItemUse(ctx *event.Context)

func (*Handler) HandleItemUseOnBlock

func (h *Handler) HandleItemUseOnBlock(ctx *event.Context, pos cube.Pos, face cube.Face, vec mgl64.Vec3)

func (*Handler) HandleQuit

func (h *Handler) HandleQuit()

Directories

Path Synopsis
internal
msg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL