public class PokeballImpactEvent
extends net.minecraftforge.fml.common.eventhandler.Event
| Modifier and Type | Field and Description |
|---|---|
net.minecraft.util.math.RayTraceResult |
ballPosition
The RayTraceResult instance specifying its location and any impacted entities
|
boolean |
isEmptyBall
Whether it is an empty Pokéball or an occupied one.
|
net.minecraft.entity.projectile.EntityThrowable |
pokeball
The Pokéball thrown
|
| Constructor and Description |
|---|
PokeballImpactEvent(net.minecraft.entity.projectile.EntityThrowable pokeball,
net.minecraft.util.math.RayTraceResult movingobjectposition) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.entity.Entity |
getEntityHit()
Gets the entity that was hit.
|
public final net.minecraft.entity.projectile.EntityThrowable pokeball
public final net.minecraft.util.math.RayTraceResult ballPosition
public final boolean isEmptyBall