public abstract class CommonPlayerInteractEntityEventType<E> extends CommonPlayerInteractEventType<E>
CommonEventWrapper.CommonType<E extends CommonEventWrapper<?>>EventWrapper.EventType<E extends EventWrapper<?>>, EventWrapper.Result| Modifier and Type | Field and Description |
|---|---|
protected EventFieldWrapper<E,EntityAPI<?,?>> |
target |
cancelResult, facing, hand, posplayerevent| Modifier | Constructor and Description |
|---|---|
protected |
CommonPlayerInteractEntityEventType(CommonEventWrapper.CommonType<?> type) |
| Modifier and Type | Method and Description |
|---|---|
EntityAPI<?,?> |
getTarget() |
void |
populate() |
protected abstract EventFieldWrapper<E,EntityAPI<?,?>> |
wrapTargetField() |
getCancelResult, getFacing, getHand, getPos, getStackInHand, getWorld, isFacing, isHand, setCancelResult, wrapCancelResultField, wrapFacingField, wrapHandField, wrapPosFieldgetPlayer, wrapPlayerFieldisClient, isCommon, isServercancel, hasInvokers, hasResult, initPrimitive, isCancelable, setEvent, wrapAdvancement, wrapAdvancementBoth, wrapAdvancementGetter, wrapBlock, wrapBlockBoth, wrapBlockEntity, wrapBlockEntityBoth, wrapBlockEntityGetter, wrapBlockGetter, wrapEntity, wrapEntityBoth, wrapEntityGetter, wrapExplosion, wrapExplosionBoth, wrapExplosionGetter, wrapGenericBoth, wrapGenericGetter, wrapItem, wrapItemBoth, wrapItemGetter, wrapItemStack, wrapItemStackBoth, wrapItemStackGetter, wrapLiving, wrapLivingBoth, wrapLivingGetter, wrapPlayer, wrapPlayerBoth, wrapPlayerGetter, wrapPos, wrapPosBoth, wrapPosGetter, wrapSnapshot, wrapSnapshotBoth, wrapSnapshotGetter, wrapState, wrapStateBoth, wrapStateGetter, wrapWorld, wrapWorldBoth, wrapWorldGetterprotected EventFieldWrapper<E,EntityAPI<?,?>> target
protected CommonPlayerInteractEntityEventType(CommonEventWrapper.CommonType<?> type)
public EntityAPI<?,?> getTarget()
public void populate()
populate in class CommonPlayerInteractEventType<E>protected abstract EventFieldWrapper<E,EntityAPI<?,?>> wrapTargetField()