Interface IInteraction


public interface IInteraction
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    breakBlock(net.minecraft.core.BlockPos pos, double range, boolean throughWalls)
     
    net.minecraft.world.phys.BlockHitResult
    breakCast(net.minecraft.core.BlockPos pos, double range, boolean throughWalls)
     
    boolean
    canBreak(net.minecraft.core.BlockPos pos)
     
    boolean
    isEmpty(net.minecraft.core.BlockPos pos)
     
    boolean
    place(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)