public final class BlockInteractEvent extends java.lang.Object
BlockInteractEvent.Type.START_BREAK
or BlockInteractEvent.Type.USE
.Modifier and Type | Class and Description |
---|---|
static class |
BlockInteractEvent.Type |
Constructor and Description |
---|
BlockInteractEvent(net.minecraft.util.math.BlockPos pos,
BlockInteractEvent.Type type) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.util.math.BlockPos |
getPos() |
BlockInteractEvent.Type |
getType() |
public BlockInteractEvent(net.minecraft.util.math.BlockPos pos, BlockInteractEvent.Type type)
public final net.minecraft.util.math.BlockPos getPos()
public final BlockInteractEvent.Type getType()