Cancellable
public class EntityCombustByBlockEvent extends EntityCombustEvent
Event.Result
entity
Constructor | Description |
---|---|
EntityCombustByBlockEvent(Block combuster,
Entity combustee,
int duration) |
Modifier and Type | Method | Description |
---|---|---|
Block |
getCombuster() |
The combuster can be lava or a block that is on fire.
|
getDuration, getHandlerList, getHandlers, isCancelled, setCancelled, setDuration
getEntity, getEntityType
getEventName, isAsynchronous
@Nullable public Block getCombuster()
WARNING: block may be null.
Copyright © 2020. All rights reserved.