Class ExpandBlockHitResult

java.lang.Object
com.blamejared.crafttweaker.natives.util.ExpandBlockHitResult

@ZenRegister public class ExpandBlockHitResult extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.core.BlockPos
    getBlockPos(net.minecraft.world.phys.BlockHitResult internal)
     
    static net.minecraft.core.Direction
    getDirection(net.minecraft.world.phys.BlockHitResult internal)
     
    static net.minecraft.world.phys.HitResult.Type
    getType(net.minecraft.world.phys.BlockHitResult internal)
     
    static boolean
    isInside(net.minecraft.world.phys.BlockHitResult internal)
     
    static net.minecraft.world.phys.BlockHitResult
    withDirection(net.minecraft.world.phys.BlockHitResult internal, net.minecraft.core.Direction param0)
     
    static net.minecraft.world.phys.BlockHitResult
    withPosition(net.minecraft.world.phys.BlockHitResult internal, net.minecraft.core.BlockPos param0)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExpandBlockHitResult

      public ExpandBlockHitResult()
  • Method Details

    • withDirection

      public static net.minecraft.world.phys.BlockHitResult withDirection(net.minecraft.world.phys.BlockHitResult internal, net.minecraft.core.Direction param0)
    • withPosition

      public static net.minecraft.world.phys.BlockHitResult withPosition(net.minecraft.world.phys.BlockHitResult internal, net.minecraft.core.BlockPos param0)
    • getBlockPos

      public static net.minecraft.core.BlockPos getBlockPos(net.minecraft.world.phys.BlockHitResult internal)
    • getDirection

      public static net.minecraft.core.Direction getDirection(net.minecraft.world.phys.BlockHitResult internal)
    • getType

      public static net.minecraft.world.phys.HitResult.Type getType(net.minecraft.world.phys.BlockHitResult internal)
    • isInside

      public static boolean isInside(net.minecraft.world.phys.BlockHitResult internal)