Wiki 9Minecraft Wiki 9Minecraft

Mo Glass Technical Details

Guides 7FAQ 12Blocks 36Recipes 72Related mods 60
DownloadMo Glass Mod

Get the files on 9Minecraft

Contents (3)
  1. Tags
  2. Next guides
  3. More in this wiki

The mod implements a complex custom rendering system to handle the transparency of non-full blocks. Because stairs can exist in 40 different states (direction, half, and shape) and slabs in 3 states, the mod must calculate transparency across thousands of potential neighbor combinations.

  • Stair Scenarios: 10,800 possible neighbor scenarios accounted for.
  • Slab Scenarios: 810 possible neighbor scenarios accounted for.
  • Glass Block Adjustments: 270 scenarios (compared to 12 in vanilla) to ensure full blocks recognize the transparency of adjacent stairs and slabs.

Tags

For modpack compatibility, the following tags are used: * mo_glass:glass_slabs: Contains all glass slab variants. * mo_glass:glass_stairs: Contains all glass stair variants.