Skip to content

Commit

Permalink
Start second attempt at absurd world(+entity) overhaul.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandertv committed Oct 16, 2024
1 parent aacb1af commit b0e561b
Show file tree
Hide file tree
Showing 37 changed files with 897 additions and 781 deletions.
4 changes: 2 additions & 2 deletions server/block/nether_sprouts.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type NetherSprouts struct {
// NeighbourUpdateTick ...
func (n NetherSprouts) NeighbourUpdateTick(pos, _ cube.Pos, w *world.World) {
if !supportsVegetation(n, w.Block(pos.Side(cube.FaceDown))) {
w.SetBlock(pos, nil, nil) //TODO: Nylium & mycelium
w.SetBlock(pos, nil, nil) // TODO: Nylium & mycelium
}
}

Expand All @@ -28,7 +28,7 @@ func (n NetherSprouts) UseOnBlock(pos cube.Pos, face cube.Face, _ mgl64.Vec3, w
return false
}
if !supportsVegetation(n, w.Block(pos.Side(cube.FaceDown))) {
return false //TODO: Nylium & mycelium
return false // TODO: Nylium & mycelium
}

place(w, pos, n, user, ctx)
Expand Down
2 changes: 1 addition & 1 deletion server/block/wall.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func (w Wall) calculateConnections(wo *world.World, pos cube.Pos) (Wall, bool) {
var connectionType WallConnectionType
if connected {
// If the wall is connected to the side, it has the possibility of having a tall connection. This is
//calculated by checking for any overlapping blocks in the area of the connection.
// calculated by checking for any overlapping blocks in the area of the connection.
connectionType = ShortWallConnection()
boxes := above.Model().BBox(abovePos, wo)
for _, bb := range boxes {
Expand Down
Loading

0 comments on commit b0e561b

Please sign in to comment.