Package org.bukkit.event.entity

Examples of org.bukkit.event.entity.EntityCombustEvent


    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);
        }
      }
View Full Code Here

TOP

Related Classes of org.bukkit.event.entity.EntityCombustEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.