public interface UseBlockCallback
Upon return:
Modifier and Type | Field and Description |
---|---|
static Event<UseBlockCallback> |
EVENT |
Modifier and Type | Method and Description |
---|---|
net.minecraft.util.ActionResult |
interact(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.world.World world,
net.minecraft.util.Hand hand,
net.minecraft.util.hit.BlockHitResult hitResult) |
static final Event<UseBlockCallback> EVENT