Class ExpandLivingChangeTargetEvent

java.lang.Object
com.blamejared.crafttweaker.natives.event.entity.living.target.ExpandLivingChangeTargetEvent

@ZenRegister public class ExpandLivingChangeTargetEvent extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final IEventBus<net.minecraftforge.event.entity.living.LivingChangeTargetEvent>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.entity.LivingEntity
    getNewTarget(net.minecraftforge.event.entity.living.LivingChangeTargetEvent internal)
     
    static net.minecraft.world.entity.LivingEntity
    getOriginalTarget(net.minecraftforge.event.entity.living.LivingChangeTargetEvent internal)
     
    static net.minecraftforge.event.entity.living.LivingChangeTargetEvent.ILivingTargetType
    getTargetType(net.minecraftforge.event.entity.living.LivingChangeTargetEvent internal)
     
    static void
    setNewTarget(net.minecraftforge.event.entity.living.LivingChangeTargetEvent internal, net.minecraft.world.entity.LivingEntity newTarget)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • BUS

      public static final IEventBus<net.minecraftforge.event.entity.living.LivingChangeTargetEvent> BUS
  • Constructor Details

    • ExpandLivingChangeTargetEvent

      public ExpandLivingChangeTargetEvent()
  • Method Details

    • getNewTarget

      public static net.minecraft.world.entity.LivingEntity getNewTarget(net.minecraftforge.event.entity.living.LivingChangeTargetEvent internal)
    • setNewTarget

      public static void setNewTarget(net.minecraftforge.event.entity.living.LivingChangeTargetEvent internal, net.minecraft.world.entity.LivingEntity newTarget)
    • getTargetType

      public static net.minecraftforge.event.entity.living.LivingChangeTargetEvent.ILivingTargetType getTargetType(net.minecraftforge.event.entity.living.LivingChangeTargetEvent internal)
    • getOriginalTarget

      public static net.minecraft.world.entity.LivingEntity getOriginalTarget(net.minecraftforge.event.entity.living.LivingChangeTargetEvent internal)