类 BlockStateRaycastContext


  • public class BlockStateRaycastContext
    extends Object
    Mappings:
    Namespace Name
    official buy
    intermediary net/minecraft/class_5702
    named net/minecraft/world/BlockStateRaycastContext
    • 字段详细资料

      • start

        private final Vec3d start
        Mappings:
        Namespace Name Mixin selector
        official a Lbuy;a:Ldma;
        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 Lbuy;b:Ldma;
        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 Lbuy;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;
    • 构造器详细资料

      • BlockStateRaycastContext

        public BlockStateRaycastContext​(Vec3d start,
                                        Vec3d end,
                                        Predicate<BlockState> statePredicate)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lbuy;<init>(Ldma;Ldma;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
    • 方法详细资料

      • getEnd

        public Vec3d getEnd()
        Mappings:
        Namespace Name Mixin selector
        official a Lbuy;a()Ldma;
        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 Lbuy;b()Ldma;
        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 Lbuy;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;