Class ExpandPlayerEntityInteractEvent

java.lang.Object
com.blamejared.crafttweaker.natives.event.interact.ExpandPlayerEntityInteractEvent

@ZenRegister public class ExpandPlayerEntityInteractEvent extends Object
This event is fired on both sides whenever the player interacts with an entity.
DocEvent:
canceled will cause the entity to not be interacted with
  • Field Details

    • BUS

      public static final IEventBus<net.minecraftforge.event.entity.player.PlayerInteractEvent.EntityInteract> BUS
  • Constructor Details

    • ExpandPlayerEntityInteractEvent

      public ExpandPlayerEntityInteractEvent()
  • Method Details

    • getTarget

      public static net.minecraft.world.entity.Entity getTarget(net.minecraftforge.event.entity.player.PlayerInteractEvent.EntityInteract internal)