mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Added textures for Blocks
This commit is contained in:
@@ -13,9 +13,9 @@ namespace Sandbox.VoxelFun
|
||||
|
||||
public static void Init()
|
||||
{
|
||||
Stone = RegisterModel(Blocks.Stone, .. new BlockModel(.Gray));
|
||||
Grass = RegisterModel(Blocks.Grass, .. new BlockModel(.Green));
|
||||
Dirt = RegisterModel(Blocks.Dirt, .. new BlockModel(.Brown));
|
||||
Stone = RegisterModel(Blocks.Stone, .. new BlockModel(.White, BlockTextures.Stone));
|
||||
Grass = RegisterModel(Blocks.Grass, .. new BlockModel(.White, BlockTextures.GrassTop, BlockTextures.GrassSide, BlockTextures.Dirt));
|
||||
Dirt = RegisterModel(Blocks.Dirt, .. new BlockModel(.White, BlockTextures.Dirt));
|
||||
}
|
||||
|
||||
public static void RegisterModel(Block block, Model model)
|
||||
|
||||
Reference in New Issue
Block a user