public class AggressionEvent
extends net.minecraftforge.fml.common.eventhandler.Event
Cancelling this event will prevent the Pokémon from challenging the player.
Created by Hiroku
Modifier and Type | Field and Description |
---|---|
net.minecraft.entity.EntityLiving |
aggressor
The entity that is challenging the player.
|
net.minecraft.entity.player.EntityPlayerMP |
player
The player being challenged.
|
Constructor and Description |
---|
AggressionEvent(net.minecraft.entity.EntityLiving aggressor,
net.minecraft.entity.player.EntityPlayerMP player) |
public final net.minecraft.entity.EntityLiving aggressor
EntityPixelmon
or NPCTrainer
public final net.minecraft.entity.player.EntityPlayerMP player