entityType

package
v0.0.0-...-c66ec32 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultHandler

type DefaultHandler struct {
	living.NopHandler
	// contains filtered or unexported fields
}

func (DefaultHandler) HandleHurt

func (DefaultHandler) HandleHurt(ctx *event.Context, damage float64, src world.DamageSource)

type Optional

type Optional struct {
	Identifier string
}

func (Optional) BBox

func (Optional) BBox(world.Entity) cube.BBox

func (Optional) EncodeEntity

func (e Optional) EncodeEntity() string

Jump to

Keyboard shortcuts

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