类 Rangefinder.BlockResult
java.lang.Object
net.minecraft.world.phys.HitResult
net.minecraft.world.phys.BlockHitResult
mod.chloeprime.gunsmithlib.api.util.Rangefinder.BlockResult
- 所有已实现的接口:
Rangefinder.Result
- 封闭类:
Rangefinder
public static class Rangefinder.BlockResult
extends net.minecraft.world.phys.BlockHitResult
implements Rangefinder.Result
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.phys.HitResult
net.minecraft.world.phys.HitResult.Type -
字段概要
从类继承的字段 net.minecraft.world.phys.HitResult
location -
构造器概要
构造器构造器说明BlockResult(double length, boolean miss, net.minecraft.world.phys.Vec3 location, net.minecraft.core.Direction direction, net.minecraft.core.BlockPos pos, boolean inside) -
方法概要
从类继承的方法 net.minecraft.world.phys.BlockHitResult
getBlockPos, getDirection, isInside, miss, withDirection, withPosition从类继承的方法 net.minecraft.world.phys.HitResult
distanceTo, getLocation从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 mod.chloeprime.gunsmithlib.api.util.Rangefinder.Result
asHitResult
-
构造器详细资料
-
BlockResult
public BlockResult(double length, boolean miss, net.minecraft.world.phys.Vec3 location, net.minecraft.core.Direction direction, net.minecraft.core.BlockPos pos, boolean inside)
-
-
方法详细资料
-
getLength
public double getLength()- 指定者:
getLength在接口中Rangefinder.Result
-
getType
@Nonnull public net.minecraft.world.phys.HitResult.Type getType()- 覆盖:
getType在类中net.minecraft.world.phys.BlockHitResult
-