类 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)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    double
     
    net.minecraft.world.phys.HitResult.Type
     

    从类继承的方法 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