Class LivingKnockbackEventNeoForge
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.CommonEntityEventType<E>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingEventType<E>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingKnockbackEventWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent>
mods.thecomputerizer.theimpossiblelibrary.neoforge.common.event.events.LivingKnockbackEventNeoForge
- All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor
public class LivingKnockbackEventNeoForge
extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingKnockbackEventWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent>
-
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.events.LivingKnockbackEventWrapper
attacker, originalAttacker, originalRatioX, originalRatioZ, originalStrength, ratioX, ratioZ, strengthFields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingEventType
livingFields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonEntityEventType
entityFields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper
eventFields inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor
BOOLEAN_VALUES, FABRIC, FORGE, FORGE_OR_NEOFORGE, GAME_VERSION, JAVA_17, JAVA_21, JAVA_8, JAVA_MODULES, JAVA_VERSION, JAVA_VERSION_ASM, LEGACY, MOD_LOADER, NAMED_ENV, NEOFORGE, SRG_ENV, V12, V16, V16_OR_EARLIER, V16_OR_LATER, V18, V18_OR_EARLIER, V18_OR_LATER, V19, V19_2_OR_EARLIER, V19_4_OR_LATER, V19_OR_EARLIER, V19_OR_LATER, V20, V20_4_OR_EARLIER, V20_6_OR_LATER, V20_OR_EARLIER, V20_OR_LATER, V21, V21_OR_LATER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()static voidonEvent(net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent event) voidsetEvent(net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent event) protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent,mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?, ?>> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent,mods.thecomputerizer.theimpossiblelibrary.api.common.entity.LivingEntityAPI<?, ?>> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent,mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?, ?>> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent,Double> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent,Double> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent,Float> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent,Double> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent,Double> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent,Float> Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingKnockbackEventWrapper
getAttacker, getOriginalAttacker, getOriginalRatioX, getOriginalRatioZ, getOriginalStrength, getRatioX, getRatioZ, getStrength, populate, setAttacker, setRatioX, setRatioZ, setStrengthMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingEventType
getEntity, getLivingEntity, wrapEntityFieldMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventWrapper
isClient, isCommon, isServerMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper
actionResultGetter, actionResultSetter, cast, eventResultGetter, eventResultSetter, getEvent, getPriority, getResult, getter, getter, getter, getter, getType, hasInvokers, hasResult, initPrimitive, isCancelable, isCanceled, nestedGetter, nestedGetter, nestedGetter, nestedGetter, setCanceled, setPriority, setResult, setter, setter, setter, setter, wrapActionResultBoth, wrapAdvancement, wrapAdvancementBoth, wrapAdvancementGetter, wrapBlock, wrapBlockBoth, wrapBlockEntity, wrapBlockEntityBoth, wrapBlockEntityGetter, wrapBlockGetter, wrapBoth, wrapBoth, wrapDamage, wrapDamage, wrapDamageGetter, wrapDamageGetter, wrapEntity, wrapEntityBoth, wrapEntityGetter, wrapEventResultBoth, wrapExplosion, wrapExplosionBoth, wrapExplosionGetter, wrapGenericBoth, wrapGenericGetter, wrapGetter, wrapGetter, 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
-
LivingKnockbackEventNeoForge
public LivingKnockbackEventNeoForge()
-
-
Method Details
-
onEvent
public static void onEvent(net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent event) -
cancel
public void cancel()- Overrides:
cancelin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent>
-
setEvent
public void setEvent(net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent event) - Overrides:
setEventin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent>
-
wrapAttackerField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent,mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?, wrapAttackerField()?>> - Specified by:
wrapAttackerFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingKnockbackEventWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent>
-
wrapLivingField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent,mods.thecomputerizer.theimpossiblelibrary.api.common.entity.LivingEntityAPI<?, wrapLivingField()?>> - Specified by:
wrapLivingFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingEventType<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent>
-
wrapOriginalAttackerField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent,mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?, wrapOriginalAttackerField()?>> - Specified by:
wrapOriginalAttackerFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingKnockbackEventWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent>
-
wrapOriginalRatioXField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent,Double> wrapOriginalRatioXField()- Specified by:
wrapOriginalRatioXFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingKnockbackEventWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent>
-
wrapOriginalRatioZField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent,Double> wrapOriginalRatioZField()- Specified by:
wrapOriginalRatioZFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingKnockbackEventWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent>
-
wrapOriginalStrengthField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent,Float> wrapOriginalStrengthField()- Specified by:
wrapOriginalStrengthFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingKnockbackEventWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent>
-
wrapRatioXField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent,Double> wrapRatioXField()- Specified by:
wrapRatioXFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingKnockbackEventWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent>
-
wrapRatioZField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent,Double> wrapRatioZField()- Specified by:
wrapRatioZFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingKnockbackEventWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent>
-
wrapStrengthField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent,Float> wrapStrengthField()- Specified by:
wrapStrengthFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingKnockbackEventWrapper<net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent>
-