public class MCRayTraceResult
extends java.lang.Object
implements crafttweaker.api.world.IRayTraceResult
| Constructor and Description |
|---|
MCRayTraceResult(net.minecraft.util.math.RayTraceResult traceResult) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
crafttweaker.api.world.IBlockPos |
getBlockPos() |
crafttweaker.api.entity.IEntity |
getEntity() |
net.minecraft.util.math.RayTraceResult |
getInternal() |
crafttweaker.api.world.IFacing |
getSideHit() |
int |
hashCode() |
boolean |
isBlock() |
boolean |
isEntity() |
boolean |
isMiss() |
public MCRayTraceResult(net.minecraft.util.math.RayTraceResult traceResult)
public boolean isMiss()
isMiss in interface crafttweaker.api.world.IRayTraceResultpublic boolean isEntity()
isEntity in interface crafttweaker.api.world.IRayTraceResultpublic boolean isBlock()
isBlock in interface crafttweaker.api.world.IRayTraceResultpublic crafttweaker.api.entity.IEntity getEntity()
getEntity in interface crafttweaker.api.world.IRayTraceResultpublic crafttweaker.api.world.IBlockPos getBlockPos()
getBlockPos in interface crafttweaker.api.world.IRayTraceResultpublic crafttweaker.api.world.IFacing getSideHit()
getSideHit in interface crafttweaker.api.world.IRayTraceResultpublic net.minecraft.util.math.RayTraceResult getInternal()
getInternal in interface crafttweaker.api.world.IRayTraceResultpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object