public abstract class PlayerInteractEntitySpecificEventWrapper<E> extends CommonPlayerInteractEntityEventType<E>
CommonEventWrapper.CommonType<E extends CommonEventWrapper<?>>EventWrapper.EventType<E extends EventWrapper<?>>, EventWrapper.Result| Modifier and Type | Field and Description |
|---|---|
protected EventFieldWrapper<E,Vector3> |
localPos |
targetcancelResult, facing, hand, posplayerevent| Modifier | Constructor and Description |
|---|---|
protected |
PlayerInteractEntitySpecificEventWrapper() |
| Modifier and Type | Method and Description |
|---|---|
Vector3 |
getLocalPos() |
void |
populate() |
protected abstract EventFieldWrapper<E,Vector3> |
wrapLocalPosField() |
getTarget, wrapTargetFieldgetCancelResult, 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,Vector3> localPos
protected PlayerInteractEntitySpecificEventWrapper()
public Vector3 getLocalPos()
public void populate()
populate in class CommonPlayerInteractEntityEventType<E>protected abstract EventFieldWrapper<E,Vector3> wrapLocalPosField()