Will deal the specified amount of damage to the entity if the entity isn't immune to fire damage. Args: amountDamage
(int amount)
| 1087 | * amountDamage |
| 1088 | */ |
| 1089 | protected void dealFireDamage(int amount) |
| 1090 | { |
| 1091 | if (!this.isImmuneToFire) |
| 1092 | { |
| 1093 | this.attackEntityFrom(DamageSource.inFire, (float)amount); |
| 1094 | } |
| 1095 | } |
| 1096 | |
| 1097 | public final boolean isImmuneToFire() |
| 1098 | { |
no test coverage detected