Class RayTraceResult

java.lang.Object
net.minecraft.world.RayTraceResult

public class RayTraceResult extends Object
Mappings:
Namespace Name
official bei
intermediary net/minecraft/class_2235
named net/minecraft/world/RayTraceResult
  • Field Details

    • world

      private final World world
      Mappings:
      Namespace Name Mixin selector
      official a Lbei;a:Laqu;
      intermediary field_9894 Lnet/minecraft/class_2235;field_9894:Lnet/minecraft/class_1150;
      named world Lnet/minecraft/world/RayTraceResult;world:Lnet/minecraft/world/World;
    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official b Lbei;b:Ldt;
      intermediary field_9895 Lnet/minecraft/class_2235;field_9895:Lnet/minecraft/class_2552;
      named pos Lnet/minecraft/world/RayTraceResult;pos:Lnet/minecraft/util/math/BlockPos;
    • state

      private BlockState state
      Mappings:
      Namespace Name Mixin selector
      official c Lbei;c:Lbec;
      intermediary field_9897 Lnet/minecraft/class_2235;field_9897:Lnet/minecraft/class_2232;
      named state Lnet/minecraft/world/RayTraceResult;state:Lnet/minecraft/block/BlockState;
    • blockEntity

      private BlockEntity blockEntity
      Mappings:
      Namespace Name Mixin selector
      official d Lbei;d:Lbcm;
      intermediary field_9898 Lnet/minecraft/class_2235;field_9898:Lnet/minecraft/class_226;
      named blockEntity Lnet/minecraft/world/RayTraceResult;blockEntity:Lnet/minecraft/block/entity/BlockEntity;
    • hasBlockEntity

      private boolean hasBlockEntity
      Mappings:
      Namespace Name Mixin selector
      official e Lbei;e:Z
      intermediary field_9899 Lnet/minecraft/class_2235;field_9899:Z
      named hasBlockEntity Lnet/minecraft/world/RayTraceResult;hasBlockEntity:Z
  • Constructor Details

    • RayTraceResult

      public RayTraceResult(World world, BlockPos blockPos)
  • Method Details

    • getBlockState

      public BlockState getBlockState()
      Mappings:
      Namespace Name Mixin selector
      official a Lbei;a()Lbec;
      intermediary method_9038 Lnet/minecraft/class_2235;method_9038()Lnet/minecraft/class_2232;
      named getBlockState Lnet/minecraft/world/RayTraceResult;getBlockState()Lnet/minecraft/block/BlockState;
    • getBlockEntity

      public BlockEntity getBlockEntity()
      Mappings:
      Namespace Name Mixin selector
      official b Lbei;b()Lbcm;
      intermediary method_9040 Lnet/minecraft/class_2235;method_9040()Lnet/minecraft/class_226;
      named getBlockEntity Lnet/minecraft/world/RayTraceResult;getBlockEntity()Lnet/minecraft/block/entity/BlockEntity;
    • getPos

      public BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      official d Lbei;d()Ldt;
      intermediary method_9041 Lnet/minecraft/class_2235;method_9041()Lnet/minecraft/class_2552;
      named getPos Lnet/minecraft/world/RayTraceResult;getPos()Lnet/minecraft/util/math/BlockPos;
    • filterByState

      public static Predicate filterByState(Predicate stateFilter)
      Mappings:
      Namespace Name Mixin selector
      official a Lbei;a(Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate;
      intermediary method_9039 Lnet/minecraft/class_2235;method_9039(Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate;
      named filterByState Lnet/minecraft/world/RayTraceResult;filterByState(Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate;