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