public abstract class CommonLivingStackEventType<E> extends CommonLivingEventType<E>
CommonEventWrapper.CommonType<E extends CommonEventWrapper<?>>EventWrapper.EventType<E extends EventWrapper<?>>, EventWrapper.Result| Modifier and Type | Field and Description |
|---|---|
protected EventFieldWrapper<E,ItemStackAPI<?>> |
stack |
livingevent| Modifier | Constructor and Description |
|---|---|
protected |
CommonLivingStackEventType(CommonEventWrapper.CommonType<?> type) |
| Modifier and Type | Method and Description |
|---|---|
ItemStackAPI<?> |
getStack() |
void |
populate() |
protected abstract EventFieldWrapper<E,ItemStackAPI<?>> |
wrapStackField() |
wrapLivingFieldisClient, 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,ItemStackAPI<?>> stack
protected CommonLivingStackEventType(CommonEventWrapper.CommonType<?> type)
public ItemStackAPI<?> getStack()
public void populate()
populate in class CommonLivingEventType<E>protected abstract EventFieldWrapper<E,ItemStackAPI<?>> wrapStackField()