Class LivingHurtEventNeoForge<E extends net.neoforged.neoforge.event.entity.living.LivingEvent>
java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<E>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventWrapper<E>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingEventType<E>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingDamageEventType<E>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingHurtEventWrapper<E>
mods.thecomputerizer.theimpossiblelibrary.neoforge.common.event.events.LivingHurtEventNeoForge<E>
public abstract class LivingHurtEventNeoForge<E extends net.neoforged.neoforge.event.entity.living.LivingEvent>
extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingHurtEventWrapper<E>
-
Nested Class Summary
Nested classes/interfaces inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventWrapper
mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventWrapper.CommonType<E extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventWrapper<?>>Nested classes/interfaces inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper
mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.EventType<E extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<?>>, mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.Result -
Field Summary
Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingDamageEventType
damageFields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingEventType
livingFields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper
event -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingHurtEventWrapper
getAmount, setAmountMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingDamageEventType
getDamageAPI, populate, wrapDamageFieldMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventWrapper
isClient, isCommon, isServerMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper
getEvent, getPriority, getResult, getType, hasInvokers, hasResult, initPrimitive, isCancelable, isCanceled, setCanceled, setPriority, setResult, 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, wrapWorldGetter
-
Constructor Details
-
LivingHurtEventNeoForge
public LivingHurtEventNeoForge()
-
-
Method Details
-
cancel
public void cancel()- Overrides:
cancelin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<E extends net.neoforged.neoforge.event.entity.living.LivingEvent>
-
setEvent
-
wrapLivingField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<E, mods.thecomputerizer.theimpossiblelibrary.api.common.entity.LivingEntityAPI<?,?>> wrapLivingField()- Specified by:
wrapLivingFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingEventType<E extends net.neoforged.neoforge.event.entity.living.LivingEvent>
-