Class PlayerInteractEvent

java.lang.Object
com.beansgalaxy.backpacks.events.PlayerInteractEvent
All Implemented Interfaces:
net.fabricmc.fabric.api.event.player.UseBlockCallback

public class PlayerInteractEvent extends Object implements net.fabricmc.fabric.api.event.player.UseBlockCallback
  • Field Summary

    Fields inherited from interface net.fabricmc.fabric.api.event.player.UseBlockCallback

    EVENT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.InteractionResult
    interact(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult hitResult)
     

    Methods inherited from class java.lang.Object

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

    • PlayerInteractEvent

      public PlayerInteractEvent()
  • Method Details

    • interact

      public net.minecraft.world.InteractionResult interact(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult hitResult)
      Specified by:
      interact in interface net.fabricmc.fabric.api.event.player.UseBlockCallback