Interface IInteraction
public interface IInteraction
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbreakBlock(net.minecraft.core.BlockPos pos, double range, boolean throughWalls) net.minecraft.world.phys.BlockHitResultbreakCast(net.minecraft.core.BlockPos pos, double range, boolean throughWalls) booleancanBreak(net.minecraft.core.BlockPos pos) booleanisEmpty(net.minecraft.core.BlockPos pos) booleanplace(InteractionMode mode, net.minecraft.world.phys.BlockHitResult hitResult, net.minecraft.world.InteractionHand hand)
-
Method Details
-
place
boolean place(InteractionMode mode, net.minecraft.world.phys.BlockHitResult hitResult, net.minecraft.world.InteractionHand hand) -
isEmpty
boolean isEmpty(net.minecraft.core.BlockPos pos) -
canBreak
boolean canBreak(net.minecraft.core.BlockPos pos) -
breakCast
net.minecraft.world.phys.BlockHitResult breakCast(net.minecraft.core.BlockPos pos, double range, boolean throughWalls) -
breakBlock
boolean breakBlock(net.minecraft.core.BlockPos pos, double range, boolean throughWalls)
-