public class MinecartUpdateEvent extends MinecartEvent
pos contains the coordinate of the track the entity is on {if applicable}.Cancelable.HasResultMinecraftForge#EVENT_BUS.EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructingEvent.HasResult, Event.Result| Modifier and Type | Field and Description |
|---|---|
BlockPos |
pos |
minecartentity| Constructor and Description |
|---|
MinecartUpdateEvent(EntityMinecart minecart,
BlockPos pos) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic final BlockPos pos
public MinecartUpdateEvent(EntityMinecart minecart, BlockPos pos)