public class AdvancementEvent extends PlayerEvent
Cancelable
.HasResult
MinecraftForge.EVENT_BUS
.PlayerEvent.BreakSpeed, PlayerEvent.Clone, PlayerEvent.HarvestCheck, PlayerEvent.LoadFromFile, PlayerEvent.NameFormat, PlayerEvent.SaveToFile, PlayerEvent.StartTracking, PlayerEvent.StopTracking, PlayerEvent.Visibility
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
private Advancement |
advancement |
Constructor and Description |
---|
AdvancementEvent(EntityPlayer player,
Advancement advancement) |
Modifier and Type | Method and Description |
---|---|
Advancement |
getAdvancement() |
getEntityPlayer
getEntityLiving
getEntity
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
private final Advancement advancement
public AdvancementEvent(EntityPlayer player, Advancement advancement)
public Advancement getAdvancement()