public class BeatTrainerEvent
extends net.minecraftforge.eventbus.api.Event
Modifier and Type | Field and Description |
---|---|
net.minecraft.entity.player.ServerPlayerEntity |
player
The player who beat the trainer
|
NPCTrainer |
trainer
The defeated trainer
|
Constructor and Description |
---|
BeatTrainerEvent(net.minecraft.entity.player.ServerPlayerEntity player,
NPCTrainer trainer) |
public final net.minecraft.entity.player.ServerPlayerEntity player
public final NPCTrainer trainer
public BeatTrainerEvent(net.minecraft.entity.player.ServerPlayerEntity player, NPCTrainer trainer)