MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / entityRemoved

Method entityRemoved

src/main/java/net/optifine/DynamicLights.java:57–68  ·  view source on GitHub ↗
(Entity entityIn, RenderGlobal renderGlobal)

Source from the content-addressed store, hash-verified

55 }
56
57 public static void entityRemoved(Entity entityIn, RenderGlobal renderGlobal)
58 {
59 synchronized (mapDynamicLights)
60 {
61 DynamicLight dynamiclight = mapDynamicLights.remove(entityIn.getEntityId());
62
63 if (dynamiclight != null)
64 {
65 dynamiclight.updateLitChunks(renderGlobal);
66 }
67 }
68 }
69
70 public static void update(RenderGlobal renderGlobal)
71 {

Callers 1

onEntityRemovedMethod · 0.95

Calls 3

updateLitChunksMethod · 0.95
removeMethod · 0.45
getEntityIdMethod · 0.45

Tested by

no test coverage detected