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. Use HangingBreakByEntityEvent
instead.
@Deprecated
public class PaintingBreakByEntityEvent
- extends PaintingBreakEvent
Triggered when a painting is removed by an entity
Method Summary |
Entity |
getRemover()
Deprecated. Gets the entity that removed the painting |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PaintingBreakByEntityEvent
public PaintingBreakByEntityEvent(Painting painting,
Entity remover)
- Deprecated.
getRemover
public Entity getRemover()
- Deprecated.
- Gets the entity that removed the painting
- Returns:
- the entity that removed the painting.
Copyright © 2013. All Rights Reserved.