Class BlockStateRaycastContext

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

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

    • start

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

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

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

    • BlockStateRaycastContext

      public BlockStateRaycastContext(Vec3d start, Vec3d end, Predicate<BlockState> statePredicate)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/BlockStateRaycastContext;<init>(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;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
      official <init> Ldbh;<init>(Levs;Levs;Ljava/util/function/Predicate;)V
  • Method Details

    • getEnd

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

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

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