Skip to content

Commit

Permalink
block/decorated_pot.go: Implement world.LiquidDisplacer
Browse files Browse the repository at this point in the history
  • Loading branch information
DaPigGuy committed Jan 13, 2025
1 parent ad326d7 commit 6fbcb9e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server/block/decorated_pot.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ type DecoratedPot struct {
Decorations [4]PotDecoration
}

// SideClosed ...
func (p DecoratedPot) SideClosed(cube.Pos, cube.Pos, *world.Tx) bool {
return false
}

// ProjectileHit ...
func (p DecoratedPot) ProjectileHit(pos cube.Pos, tx *world.Tx, _ world.Entity, _ cube.Face) {
for _, d := range p.Decorations {
Expand Down

0 comments on commit 6fbcb9e

Please sign in to comment.