Class ExpandPlayerEntityInteractEvent
java.lang.Object
com.blamejared.crafttweaker.natives.event.interact.ExpandPlayerEntityInteractEvent
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.entity.EntitygetTarget(net.minecraftforge.event.entity.player.PlayerInteractEvent.EntityInteract internal)
-
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)
-