public abstract class CommonPlayerStateEventType<E> extends CommonPlayerEventType<E>
CommonEventWrapper.CommonType<E extends CommonEventWrapper<?>>EventWrapper.EventType<E extends EventWrapper<?>>, EventWrapper.Result| Modifier and Type | Field and Description |
|---|---|
protected EventFieldWrapper<E,BlockStateAPI<?>> |
state |
playerevent| Modifier | Constructor and Description |
|---|---|
protected |
CommonPlayerStateEventType(CommonEventWrapper.CommonType<?> type) |
| Modifier and Type | Method and Description |
|---|---|
BlockStateAPI<?> |
getState() |
void |
populate() |
protected abstract EventFieldWrapper<E,BlockStateAPI<?>> |
wrapStateField() |
getPlayer, 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,BlockStateAPI<?>> state
protected CommonPlayerStateEventType(CommonEventWrapper.CommonType<?> type)
public BlockStateAPI<?> getState()
public void populate()
populate in class CommonPlayerEventType<E>protected abstract EventFieldWrapper<E,BlockStateAPI<?>> wrapStateField()