github.com/df-mc/dragonfly@v0.9.13/server/block/model/enchanting_table.go (about) 1 package model 2 3 import ( 4 "github.com/df-mc/dragonfly/server/block/cube" 5 "github.com/df-mc/dragonfly/server/world" 6 ) 7 8 // EnchantingTable is a model used by enchanting tables. 9 type EnchantingTable struct{} 10 11 // BBox ... 12 func (EnchantingTable) BBox(cube.Pos, *world.World) []cube.BBox { 13 return []cube.BBox{cube.Box(0, 0, 0, 1, 0.75, 1)} 14 } 15 16 // FaceSolid ... 17 func (EnchantingTable) FaceSolid(cube.Pos, cube.Face, *world.World) bool { 18 return false 19 }