Improve a buuuunch of textures and some reworks

This commit is contained in:
2026-09-27 18:05:20 -03:00
parent 9f47c709f1
commit b7ded817d9
186 changed files with 1486 additions and 124 deletions
+4
View File
@@ -1,3 +1,4 @@
import type { TintColor } from "./worldgen/biome_colors.ts";
import type { ItemStack } from "./inventory.ts";
import type { BlockVariant } from "./block_models.ts";
@@ -108,6 +109,9 @@ export interface BlockRegistry {
render_layer?: RenderLayer;
// hide faces between two of this block, like glass and water. defaults to true for translucent blocks
cull_same?: boolean;
// drawn in a color: the biome's grass or foliage color, like minecraft's grass block and leaves, or a fixed one
// like "#80a755". only the texture variables listed (like "top"), or all of them
tint?: { color: TintColor; textures?: string[] };
// light level 0-15 it gives off
light_emission?: number;
// how much light going through it loses, 0-15. see block_light_opacity for the default