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

Method setOnFireFromLava

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

Called whenever the entity is walking inside of lava.

()

Source from the content-addressed store, hash-verified

546 * Called whenever the entity is walking inside of lava.
547 */
548 protected void setOnFireFromLava()
549 {
550 if (!this.isImmuneToFire)
551 {
552 this.attackEntityFrom(DamageSource.lava, 4.0F);
553 this.setFire(15);
554 }
555 }
556
557 /**
558 * Sets entity to burn for x amount of seconds, cannot lower amount of existing fire.

Callers 1

onEntityUpdateMethod · 0.95

Calls 2

attackEntityFromMethod · 0.95
setFireMethod · 0.95

Tested by

no test coverage detected