类 LeashInteractHandler
java.lang.Object
top.r3944realms.superleadrope.core.leash.LeashInteractHandler
The type Leash interact handler.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static voidonEntityLeftInteract(net.minecraft.world.level.Level level, net.minecraft.world.entity.Entity target, net.minecraft.world.entity.player.Player player, net.minecraftforge.event.entity.player.AttackEntityEvent event) On entity left interact.static voidonEntityRightInteract(net.minecraft.world.level.Level level, net.minecraft.world.InteractionHand hand, net.minecraft.world.entity.Entity target, net.minecraft.world.entity.player.Player player, net.minecraftforge.event.entity.player.PlayerInteractEvent.EntityInteract event) On entity right interact.
-
构造器详细资料
-
LeashInteractHandler
public LeashInteractHandler()
-
-
方法详细资料
-
onEntityRightInteract
public static void onEntityRightInteract(net.minecraft.world.level.Level level, net.minecraft.world.InteractionHand hand, net.minecraft.world.entity.Entity target, net.minecraft.world.entity.player.Player player, net.minecraftforge.event.entity.player.PlayerInteractEvent.EntityInteract event) On entity right interact.- 参数:
level- the levelhand- the handtarget- the targetplayer- the playerevent- the event
-
onEntityLeftInteract
public static void onEntityLeftInteract(net.minecraft.world.level.Level level, net.minecraft.world.entity.Entity target, net.minecraft.world.entity.player.Player player, net.minecraftforge.event.entity.player.AttackEntityEvent event) On entity left interact.- 参数:
level- the leveltarget- the targetplayer- the playerevent- the event
-