net.minestom.server.event.entity.projectile.ProjectileUncollideEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of minestom-snapshots Show documentation
Show all versions of minestom-snapshots Show documentation
1.20.4 Lightweight Minecraft server
package net.minestom.server.event.entity.projectile;
import net.minestom.server.entity.Entity;
import net.minestom.server.event.trait.EntityInstanceEvent;
import org.jetbrains.annotations.NotNull;
public final class ProjectileUncollideEvent implements EntityInstanceEvent {
private final @NotNull Entity projectile;
public ProjectileUncollideEvent(@NotNull Entity projectile) {
this.projectile = projectile;
}
@Override
public @NotNull Entity getEntity() {
return projectile;
}
}