Class EntityEnterBlockEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
org.bukkit.event.entity.EntityEnterBlockEvent
All Implemented Interfaces:
Cancellable

public class EntityEnterBlockEvent
extends EntityEvent
implements Cancellable
Called when an Entity enters a block and is stored in that block.

This event is called for bees entering a bee hive.
It is not called when a silverfish "enters" a stone block. For that listen to the EntityChangeBlockEvent.