MCPcopy Create free account
hub / github.com/5zig/The-5zig-Mod / getFaceBrightness

Method getFaceBrightness

Minecraft-Utils/1.13/src/FaceBakery.java:71–86  ·  view source on GitHub ↗
(ep enumFacing)

Source from the content-addressed store, hash-verified

69 }
70
71 private float getFaceBrightness(ep enumFacing) {
72 switch (enumFacing) {
73 case a:
74 return 0.5F;
75 case b:
76 return 1.0F;
77 case c:
78 case d:
79 return 0.8F;
80 case e:
81 case f:
82 return 0.6F;
83 default:
84 return 1.0F;
85 }
86 }
87
88 private float[] getPositionsDiv16(dhc var, dhc var1) {
89 float[] var2 = new float[ep.values().length];

Callers 1

aMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected