Package net.minestom.server.event.entity
package net.minestom.server.event.entity
-
ClassDescriptionCalled when a player does a left click on an entity or with
EntityCreature.attack(Entity)
.Called right before an entity is removedCalled when twoItemEntity
are merging theirItemStack
together to form a sole entity.Called withEntityProjectile.shoot(Point, double, double)
Called when a new instance is set for an entity.Called withEntity.teleport(Pos)
and its overloads.Called when an entity ticks itself.Called when a velocity is applied to an entity usingEntity.setVelocity(Vec)
.