Class BlockStateRaycastContext

java.lang.Object
net.minecraft.world.BlockStateRaycastContext

public class BlockStateRaycastContext extends Object
Mappings:
Namespace Name
official cje
intermediary net/minecraft/class_5702
named net/minecraft/world/BlockStateRaycastContext
  • Field Details

    • start

      private final Vec3d start
      Mappings:
      Namespace Name Mixin selector
      official a Lcje;a:Leae;
      intermediary field_28102 Lnet/minecraft/class_5702;field_28102:Lnet/minecraft/class_243;
      named start Lnet/minecraft/world/BlockStateRaycastContext;start:Lnet/minecraft/util/math/Vec3d;
    • end

      private final Vec3d end
      Mappings:
      Namespace Name Mixin selector
      official b Lcje;b:Leae;
      intermediary field_28103 Lnet/minecraft/class_5702;field_28103:Lnet/minecraft/class_243;
      named end Lnet/minecraft/world/BlockStateRaycastContext;end:Lnet/minecraft/util/math/Vec3d;
    • statePredicate

      private final Predicate<BlockState> statePredicate
      Mappings:
      Namespace Name Mixin selector
      official c Lcje;c:Ljava/util/function/Predicate;
      intermediary field_28104 Lnet/minecraft/class_5702;field_28104:Ljava/util/function/Predicate;
      named statePredicate Lnet/minecraft/world/BlockStateRaycastContext;statePredicate:Ljava/util/function/Predicate;
  • Constructor Details

    • BlockStateRaycastContext

      public BlockStateRaycastContext(Vec3d start, Vec3d end, Predicate<BlockState> statePredicate)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcje;<init>(Leae;Leae;Ljava/util/function/Predicate;)V
      intermediary <init> Lnet/minecraft/class_5702;<init>(Lnet/minecraft/class_243;Lnet/minecraft/class_243;Ljava/util/function/Predicate;)V
      named <init> Lnet/minecraft/world/BlockStateRaycastContext;<init>(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;Ljava/util/function/Predicate;)V
  • Method Details

    • getEnd

      public Vec3d getEnd()
      Mappings:
      Namespace Name Mixin selector
      official a Lcje;a()Leae;
      intermediary method_32883 Lnet/minecraft/class_5702;method_32883()Lnet/minecraft/class_243;
      named getEnd Lnet/minecraft/world/BlockStateRaycastContext;getEnd()Lnet/minecraft/util/math/Vec3d;
    • getStart

      public Vec3d getStart()
      Mappings:
      Namespace Name Mixin selector
      official b Lcje;b()Leae;
      intermediary method_32884 Lnet/minecraft/class_5702;method_32884()Lnet/minecraft/class_243;
      named getStart Lnet/minecraft/world/BlockStateRaycastContext;getStart()Lnet/minecraft/util/math/Vec3d;
    • getStatePredicate

      public Predicate<BlockState> getStatePredicate()
      Mappings:
      Namespace Name Mixin selector
      official c Lcje;c()Ljava/util/function/Predicate;
      intermediary method_32885 Lnet/minecraft/class_5702;method_32885()Ljava/util/function/Predicate;
      named getStatePredicate Lnet/minecraft/world/BlockStateRaycastContext;getStatePredicate()Ljava/util/function/Predicate;