mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-28 21:56:33 +01:00
commit
b53a039890
@ -239,7 +239,7 @@ public class NMSRegistryDumper {
|
|||||||
map.put("unpushable", m.getPushReaction() == EnumPistonReaction.BLOCK);
|
map.put("unpushable", m.getPushReaction() == EnumPistonReaction.BLOCK);
|
||||||
map.put("adventureModeExempt", getField(m, Material.class, "isAdventureModeExempt", "Q"));
|
map.put("adventureModeExempt", getField(m, Material.class, "isAdventureModeExempt", "Q"));
|
||||||
//map.put("mapColor", rgb(m.getMaterialMapColor().colorValue));
|
//map.put("mapColor", rgb(m.getMaterialMapColor().colorValue));
|
||||||
map.put("ambientOcclusionLightValue", b.s(bs) ? 0.2F:1.0F);
|
map.put("ambientOcclusionLightValue", b.isOccluding(bs) ? 0.2F:1.0F);
|
||||||
map.put("grassBlocking", false); // idk what this property was originally supposed to be...grass uses a combination of light values to check growth
|
map.put("grassBlocking", false); // idk what this property was originally supposed to be...grass uses a combination of light values to check growth
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user