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

Method isBurning

src/main/java/net/minecraft/entity/Entity.java:2186–2190  ·  view source on GitHub ↗

Returns true if the entity is on fire. Used by render to add the fire effect on rendering.

()

Source from the content-addressed store, hash-verified

2184 * Returns true if the entity is on fire. Used by render to add the fire effect on rendering.
2185 */
2186 public boolean isBurning()
2187 {
2188 boolean flag = this.worldObj != null && this.worldObj.isRemote;
2189 return !this.isImmuneToFire && (this.fire > 0 || flag && this.getFlag(0));
2190 }
2191
2192 /**
2193 * Returns true if the entity is riding another entity, used by render to rotate the legs to be in 'sit' position

Callers 9

canRenderOnFireMethod · 0.95
getLightLevelMethod · 0.45
evalMethod · 0.45
evalMethod · 0.45
renderOverlaysMethod · 0.45
renderEntityStaticMethod · 0.45
onPacketMethod · 0.45

Calls 1

getFlagMethod · 0.95

Tested by

no test coverage detected