Class SetAttackTargetEvent1_12_2
java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<net.minecraftforge.event.entity.living.LivingSetAttackTargetEvent>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventWrapper<net.minecraftforge.event.entity.living.LivingSetAttackTargetEvent>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingEventType<net.minecraftforge.event.entity.living.LivingSetAttackTargetEvent>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.SetAttackTargetEventWrapper<net.minecraftforge.event.entity.living.LivingSetAttackTargetEvent>
mods.thecomputerizer.theimpossiblelibrary.legacy.v12.m2.common.event.events.SetAttackTargetEvent1_12_2
public class SetAttackTargetEvent1_12_2
extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.SetAttackTargetEventWrapper<net.minecraftforge.event.entity.living.LivingSetAttackTargetEvent>
-
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.SetAttackTargetEventWrapper
targetFields 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
Modifier and TypeMethodDescriptionvoidcancel()static voidonEvent(net.minecraftforge.event.entity.living.LivingSetAttackTargetEvent event) voidsetEvent(net.minecraftforge.event.entity.living.LivingSetAttackTargetEvent event) protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.minecraftforge.event.entity.living.LivingSetAttackTargetEvent, mods.thecomputerizer.theimpossiblelibrary.api.common.entity.LivingEntityAPI<?, ?>> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.minecraftforge.event.entity.living.LivingSetAttackTargetEvent, mods.thecomputerizer.theimpossiblelibrary.api.common.entity.LivingEntityAPI<?, ?>> Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.SetAttackTargetEventWrapper
getTarget, populateMethods 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
-
SetAttackTargetEvent1_12_2
public SetAttackTargetEvent1_12_2()
-
-
Method Details
-
onEvent
public static void onEvent(net.minecraftforge.event.entity.living.LivingSetAttackTargetEvent event) -
cancel
public void cancel()- Overrides:
cancelin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<net.minecraftforge.event.entity.living.LivingSetAttackTargetEvent>
-
setEvent
public void setEvent(net.minecraftforge.event.entity.living.LivingSetAttackTargetEvent event) - Overrides:
setEventin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<net.minecraftforge.event.entity.living.LivingSetAttackTargetEvent>
-
wrapLivingField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.minecraftforge.event.entity.living.LivingSetAttackTargetEvent, mods.thecomputerizer.theimpossiblelibrary.api.common.entity.LivingEntityAPI<?,?>> wrapLivingField()- Specified by:
wrapLivingFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingEventType<net.minecraftforge.event.entity.living.LivingSetAttackTargetEvent>
-
wrapTargetField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.minecraftforge.event.entity.living.LivingSetAttackTargetEvent, mods.thecomputerizer.theimpossiblelibrary.api.common.entity.LivingEntityAPI<?,?>> wrapTargetField()- Specified by:
wrapTargetFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.events.SetAttackTargetEventWrapper<net.minecraftforge.event.entity.living.LivingSetAttackTargetEvent>
-