Package com.beansgalaxy.backpacks.events
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 -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.InteractionResultinteract(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult hitResult)
-
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:
interactin interfacenet.fabricmc.fabric.api.event.player.UseBlockCallback
-