public class SetNicknameEvent
extends net.minecraftforge.fml.common.eventhandler.Event
Note: nickname
could be null or an empty string if they are removing a nickname.
Cancelling this event will prevent the nickname from being applied.
Created by Hiroku
Modifier and Type | Field and Description |
---|---|
java.lang.String |
nickname
The new nickname.
|
net.minecraft.entity.player.EntityPlayerMP |
player
The player doing the renaming.
|
Pokemon |
pokemon
The Pokémon being renamed.
|
Constructor and Description |
---|
SetNicknameEvent(net.minecraft.entity.player.EntityPlayerMP player,
Pokemon pokemon,
java.lang.String nickname) |
public final net.minecraft.entity.player.EntityPlayerMP player
public final Pokemon pokemon
public java.lang.String nickname
public SetNicknameEvent(net.minecraft.entity.player.EntityPlayerMP player, Pokemon pokemon, java.lang.String nickname)