feat: make Sand/Snow opaque and register Sand/Snow/Water blocks

This commit is contained in:
MDietermann
2026-05-31 21:38:11 +02:00
parent 4e14786668
commit 6eb17b6c5d
6 changed files with 59 additions and 1 deletions

10
World/Blocks/SandBlock.cs Normal file
View File

@@ -0,0 +1,10 @@
namespace VoxelEngine.World.Blocks;
public class SandBlock : IBlock
{
public ushort Id => 4;
public string Name => "Sand";
public bool IsOpaque => true;
public bool IsSolid => true;
public TileCoord GetTextureTile(BlockFace face) => new(2, 1);
}