public abstract class PlaySoundEventWrapper<E> extends ClientSoundSourceEventType<E>
ClientEventWrapper.ClientType<E extends ClientEventWrapper<?>>EventWrapper.EventType<E extends EventWrapper<?>>, EventWrapper.Result| Modifier and Type | Field and Description |
|---|---|
protected EventFieldWrapper<E,SoundAPI<?>> |
soundResult |
name, soundsoundHelperminecraftevent| Modifier | Constructor and Description |
|---|---|
protected |
PlaySoundEventWrapper() |
| Modifier and Type | Method and Description |
|---|---|
SoundAPI<?> |
getSoundResult() |
void |
populate() |
void |
setResult(SoundAPI<?> sound) |
protected abstract EventFieldWrapper<E,SoundAPI<?>> |
wrapSoundResultField() |
getName, getSound, wrapNameField, wrapSoundFieldisClient, isCommon, isServer, setEventcancel, hasInvokers, hasResult, initPrimitive, isCancelable, 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,SoundAPI<?>> soundResult
public SoundAPI<?> getSoundResult()
public void populate()
populate in class ClientSoundSourceEventType<E>public void setResult(SoundAPI<?> sound)
protected abstract EventFieldWrapper<E,SoundAPI<?>> wrapSoundResultField()