Class EntityCombustByBlockEvent

All Implemented Interfaces:
Cancellable

public class EntityCombustByBlockEvent extends EntityCombustEvent
Called when a block causes an entity to combust.
  • Constructor Details

  • Method Details

    • getCombuster

      @Nullable public @Nullable Block getCombuster()
      The combuster can be lava or a block that is on fire.

      WARNING: block may be null.

      Returns:
      the Block that set the combustee alight.