if (handle.world.e(handle.boundingBox.shrink(0.001, 0.001, 0.001))) {
onBurnDamage(1);
if (!isInWater) {
handle.fireTicks++;
if (handle.fireTicks <= 0) {
EntityCombustEvent event = new EntityCombustEvent(entity.getEntity(), 8);
if (!CommonUtil.callEvent(event).isCancelled()) {
handle.setOnFire(event.getDuration());
}
} else {
handle.setOnFire(8);
}
}