public BlockStructure(BlockType type, TextureTile tile, BlockShape shape, BlockState state, SoundType soundType = SoundType.DESTROY_STONE) { this.type = type; this.shape = shape; this.state = state; topTexture = sideTexture = botTexture = tile; topUVs = BlockUVs.GetTileUVs(tile); sideUVs = BlockUVs.GetTileUVs(tile); botUvs = BlockUVs.GetTileUVs(tile); this.soundType = soundType; }
public BlockStructure(BlockType type, TextureTile top, TextureTile side, TextureTile bottom, BlockShape shape, BlockState state, SoundType soundType = SoundType.DESTROY_STONE) { this.type = type; this.shape = shape; this.state = state; this.topTexture = top; this.sideTexture = side; this.botTexture = bottom; topUVs = BlockUVs.GetTileUVs(top); sideUVs = BlockUVs.GetTileUVs(side); botUvs = BlockUVs.GetTileUVs(bottom); this.soundType = soundType; }