Files
mc/server/block/placer.go
T
TarnaWijaya 26ed99fda6
Build and deploy / Build (push) Has been cancelled
Build and deploy / Update Contributors (push) Has been cancelled
Build and deploy / Deploy (push) Has been cancelled
up3
2026-07-09 08:33:57 +08:00

14 lines
358 B
Go

package block
import (
"github.com/df-mc/dragonfly/server/block/cube"
"github.com/df-mc/dragonfly/server/item"
"github.com/df-mc/dragonfly/server/world"
)
// Placer represents an entity that is able to place a block at a specific position in the world.
type Placer interface {
item.User
PlaceBlock(pos cube.Pos, b world.Block, ctx *item.UseContext)
}