Package org.bukkit.event.painting
Class PaintingBreakByEntityEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.painting.PaintingEvent
org.bukkit.event.painting.PaintingBreakEvent
org.bukkit.event.painting.PaintingBreakByEntityEvent
- All Implemented Interfaces:
Cancellable
@Deprecated public class PaintingBreakByEntityEvent extends PaintingBreakEvent
Deprecated.
Use
HangingBreakByEntityEvent
instead.Triggered when a painting is removed by an entity
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.painting.PaintingBreakEvent
PaintingBreakEvent.RemoveCause
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PaintingBreakByEntityEvent(Painting painting, Entity remover)
Deprecated. -
Method Summary
Modifier and Type Method Description Entity
getRemover()
Deprecated.Gets the entity that removed the paintingMethods inherited from class org.bukkit.event.painting.PaintingBreakEvent
getCause, getHandlerList, getHandlers, isCancelled, setCancelled
-
Constructor Details
-
PaintingBreakByEntityEvent
Deprecated.
-
-
Method Details
-
getRemover
Deprecated.Gets the entity that removed the painting- Returns:
- the entity that removed the painting.
-