Class RayTraceResult

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

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

    • field_18695

      private final RenderBlockView field_18695
      Mappings:
      Namespace Name Mixin selector
      official a Lblh;a:Layc;
      intermediary field_18695 Lnet/minecraft/class_2235;field_18695:Lnet/minecraft/class_3599;
      named field_18695 Lnet/minecraft/world/RayTraceResult;field_18695:Lnet/minecraft/world/RenderBlockView;
    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official b Lblh;b:Lel;
      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;
    • stateRequired

      private final boolean stateRequired
      Mappings:
      Namespace Name Mixin selector
      official c Lblh;c:Z
      intermediary field_9896 Lnet/minecraft/class_2235;field_9896:Z
      named stateRequired Lnet/minecraft/world/RayTraceResult;stateRequired:Z
    • state

      private BlockState state
      Mappings:
      Namespace Name Mixin selector
      official d Lblh;d:Lblc;
      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 e Lblh;e:Lbji;
      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 f Lblh;f:Z
      intermediary field_9899 Lnet/minecraft/class_2235;field_9899:Z
      named hasBlockEntity Lnet/minecraft/world/RayTraceResult;hasBlockEntity:Z
  • Constructor Details

  • Method Details

    • getBlockState

      public BlockState getBlockState()
      Mappings:
      Namespace Name Mixin selector
      official a Lblh;a()Lblc;
      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

      @Nullable public BlockEntity getBlockEntity()
      Mappings:
      Namespace Name Mixin selector
      official b Lblh;b()Lbji;
      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;
    • method_16937

      public RenderBlockView method_16937()
      Mappings:
      Namespace Name Mixin selector
      official c Lblh;c()Layc;
      intermediary method_16937 Lnet/minecraft/class_2235;method_16937()Lnet/minecraft/class_3599;
      named method_16937 Lnet/minecraft/world/RayTraceResult;method_16937()Lnet/minecraft/world/RenderBlockView;
    • getPos

      public BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      official d Lblh;d()Lel;
      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;
    • method_16935

      public static Predicate<RayTraceResult> method_16935(Predicate<BlockState> predicate)
      Mappings:
      Namespace Name Mixin selector
      official a Lblh;a(Ljava/util/function/Predicate;)Ljava/util/function/Predicate;
      intermediary method_16935 Lnet/minecraft/class_2235;method_16935(Ljava/util/function/Predicate;)Ljava/util/function/Predicate;
      named method_16935 Lnet/minecraft/world/RayTraceResult;method_16935(Ljava/util/function/Predicate;)Ljava/util/function/Predicate;