Versions in this module Expand all Collapse all v0 v0.5.16 Feb 23, 2022 v0.5.13 Feb 23, 2022 v0.5.12 Feb 23, 2022 Changes in this version + type Cake struct + Bites int + func (c Cake) AABB(cube.Pos, *world.World) []physics.AABB + func (c Cake) FaceSolid(cube.Pos, cube.Face, *world.World) bool + type Carpet struct + func (Carpet) AABB(cube.Pos, *world.World) []physics.AABB + func (Carpet) FaceSolid(cube.Pos, cube.Face, *world.World) bool + type Chain struct + Axis cube.Axis + func (Chain) FaceSolid(cube.Pos, cube.Face, *world.World) bool + func (c Chain) AABB(cube.Pos, *world.World) []physics.AABB + type Chest struct + func (Chest) AABB(cube.Pos, *world.World) []physics.AABB + func (Chest) FaceSolid(cube.Pos, cube.Face, *world.World) bool + type CocoaBean struct + Age int + Facing cube.Direction + func (c CocoaBean) AABB(cube.Pos, *world.World) []physics.AABB + func (c CocoaBean) FaceSolid(cube.Pos, cube.Face, *world.World) bool + type Door struct + Facing cube.Direction + Open bool + Right bool + func (d Door) AABB(cube.Pos, *world.World) []physics.AABB + func (d Door) FaceSolid(cube.Pos, cube.Face, *world.World) bool + type Empty struct + func (Empty) AABB(cube.Pos, *world.World) []physics.AABB + func (Empty) FaceSolid(cube.Pos, cube.Face, *world.World) bool + type Fence struct + Wood bool + func (f Fence) AABB(pos cube.Pos, w *world.World) []physics.AABB + func (f Fence) FaceSolid(_ cube.Pos, face cube.Face, _ *world.World) bool + type FenceGate struct + Facing cube.Direction + Open bool + func (f FenceGate) AABB(cube.Pos, *world.World) []physics.AABB + func (f FenceGate) FaceSolid(cube.Pos, cube.Face, *world.World) bool + type Ladder struct + Facing cube.Direction + func (l Ladder) AABB(cube.Pos, *world.World) []physics.AABB + func (l Ladder) FaceSolid(cube.Pos, cube.Face, *world.World) bool + type Lantern struct + Hanging bool + func (l Lantern) AABB(cube.Pos, *world.World) []physics.AABB + func (l Lantern) FaceSolid(cube.Pos, cube.Face, *world.World) bool + type Leaves struct + func (Leaves) AABB(cube.Pos, *world.World) []physics.AABB + func (Leaves) FaceSolid(cube.Pos, cube.Face, *world.World) bool + type Slab struct + Double bool + Top bool + func (s Slab) AABB(cube.Pos, *world.World) []physics.AABB + func (s Slab) FaceSolid(_ cube.Pos, face cube.Face, _ *world.World) bool + type Solid struct + func (Solid) AABB(cube.Pos, *world.World) []physics.AABB + func (Solid) FaceSolid(cube.Pos, cube.Face, *world.World) bool + type Stair struct + Facing cube.Direction + UpsideDown bool + func (s Stair) AABB(pos cube.Pos, w *world.World) []physics.AABB + func (s Stair) FaceSolid(pos cube.Pos, face cube.Face, w *world.World) bool + type Thin struct + func (t Thin) AABB(pos cube.Pos, w *world.World) []physics.AABB + func (t Thin) FaceSolid(_ cube.Pos, face cube.Face, _ *world.World) bool + type TilledGrass struct + func (TilledGrass) AABB(cube.Pos, *world.World) []physics.AABB + func (TilledGrass) FaceSolid(cube.Pos, cube.Face, *world.World) bool + type Trapdoor struct + Facing cube.Direction + Open bool + Top bool + func (t Trapdoor) AABB(cube.Pos, *world.World) []physics.AABB + func (t Trapdoor) FaceSolid(cube.Pos, cube.Face, *world.World) bool