From 684a59b51eb21a9df4ff30c13f91684786c4cfd9 Mon Sep 17 00:00:00 2001 From: Lukas Rieger Date: Sat, 11 Jan 2020 19:44:21 +0100 Subject: [PATCH] Updated Configuring mods mod resources (markdown) --- Configuring-mods---mod-resources.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Configuring-mods---mod-resources.md b/Configuring-mods---mod-resources.md index 1c54668..d334cfe 100644 --- a/Configuring-mods---mod-resources.md +++ b/Configuring-mods---mod-resources.md @@ -44,6 +44,7 @@ Currently, there is no general way how to find this info, but here are some thin - The textual-id and the properties of a block are usually displayed in-game if you press F3 and look at the block. - The BlueMap plugin has a command `/bluemap debug` that shows you all the information BlueMap has about the block at your feet and the one you are standing on. For 1.12.x this also includes the numeral-id and the meta-value. - The mod/plugin [WorldEdit](https://www.curseforge.com/minecraft/mc-mods/worldedit) can create blocks based on numeral-id:meta for you +- In the future, i might create a forge-mod that can generate this config for you. Stay tuned. ^^ @@ -68,4 +69,13 @@ In the future, i might create a forge-mod that can generate this config for you. "flammable": true } } -``` \ No newline at end of file +``` + +So this is pretty simple. To render blocks correctly, BlueMap needs to know if a block is: +- `culling` it's neighbor block-faces: If the neighbors block-face that is facing this block [can be removed](https://en.wikipedia.org/wiki/Hidden-surface_determination#Occlusion_culling) because it is not visible. +- `occluding` near blocks: This is basically used to determine if the block is "occluding" light when calculating the [ambient occlusion](https://en.wikipedia.org/wiki/Ambient_occlusion) on neighbor blocks. +- is `flammable`. This is currently only used in 1.12.x to calculate the appearance of fire. + +If there are no properties defined for a block, BlueMap looks at the model and "guesses" its properties. This is mostly pretty accurate, but you can configure it in this config if you need to. + +## Block-colors config