BlockHitResult
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.util.BlockHitResult;
Extends
BlockHitResult extends HitResult
.
Members
Getter
// BlockHitResult.isInside as boolmyBlockHitResult.isInside
Return Type:
bool
isInside() as bool
// BlockHitResult.isInside() as bool;myBlockHitResult.isInside();
Return Type:
bool
Getter
// BlockHitResult.type as HitResultTypemyBlockHitResult.type
Return Type:
HitResultType
type() as Type
withDirection(param0 as Direction) as BlockHitResult
myBlockHitResult.withDirection(myDirection);
Return Type:
BlockHitResult
withPosition(param0 as BlockPos) as BlockHitResult
myBlockHitResult.withPosition(myBlockPos);
Return Type:
BlockHitResult