类 RaycastContext


  • public class RaycastContext
    extends Object
    Mappings:
    Namespace Name
    official buz
    intermediary net/minecraft/class_3959
    named net/minecraft/world/RaycastContext
    • 字段详细资料

      • start

        private final Vec3d start
        Mappings:
        Namespace Name Mixin selector
        official a Lbuz;a:Ldma;
        intermediary field_17553 Lnet/minecraft/class_3959;field_17553:Lnet/minecraft/class_243;
        named start Lnet/minecraft/world/RaycastContext;start:Lnet/minecraft/util/math/Vec3d;
      • end

        private final Vec3d end
        Mappings:
        Namespace Name Mixin selector
        official b Lbuz;b:Ldma;
        intermediary field_17554 Lnet/minecraft/class_3959;field_17554:Lnet/minecraft/class_243;
        named end Lnet/minecraft/world/RaycastContext;end:Lnet/minecraft/util/math/Vec3d;
      • shapeType

        private final RaycastContext.ShapeType shapeType
        Mappings:
        Namespace Name Mixin selector
        official c Lbuz;c:Lbuz$a;
        intermediary field_17555 Lnet/minecraft/class_3959;field_17555:Lnet/minecraft/class_3959$class_3960;
        named shapeType Lnet/minecraft/world/RaycastContext;shapeType:Lnet/minecraft/world/RaycastContext$ShapeType;
      • fluid

        private final RaycastContext.FluidHandling fluid
        Mappings:
        Namespace Name Mixin selector
        official d Lbuz;d:Lbuz$b;
        intermediary field_17556 Lnet/minecraft/class_3959;field_17556:Lnet/minecraft/class_3959$class_242;
        named fluid Lnet/minecraft/world/RaycastContext;fluid:Lnet/minecraft/world/RaycastContext$FluidHandling;
      • entityPosition

        private final ShapeContext entityPosition
        Mappings:
        Namespace Name Mixin selector
        official e Lbuz;e:Ldmf;
        intermediary field_17557 Lnet/minecraft/class_3959;field_17557:Lnet/minecraft/class_3726;
        named entityPosition Lnet/minecraft/world/RaycastContext;entityPosition:Lnet/minecraft/block/ShapeContext;
    • 构造器详细资料

      • RaycastContext

        public RaycastContext​(Vec3d start,
                              Vec3d end,
                              RaycastContext.ShapeType shapeType,
                              RaycastContext.FluidHandling fluidHandling,
                              Entity entity)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lbuz;<init>(Ldma;Ldma;Lbuz$a;Lbuz$b;Lasl;)V
        intermediary <init> Lnet/minecraft/class_3959;<init>(Lnet/minecraft/class_243;Lnet/minecraft/class_243;Lnet/minecraft/class_3959$class_3960;Lnet/minecraft/class_3959$class_242;Lnet/minecraft/class_1297;)V
        named <init> Lnet/minecraft/world/RaycastContext;<init>(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/world/RaycastContext$ShapeType;Lnet/minecraft/world/RaycastContext$FluidHandling;Lnet/minecraft/entity/Entity;)V
    • 方法详细资料

      • getEnd

        public Vec3d getEnd()
        Mappings:
        Namespace Name Mixin selector
        official a Lbuz;a()Ldma;
        intermediary method_17747 Lnet/minecraft/class_3959;method_17747()Lnet/minecraft/class_243;
        named getEnd Lnet/minecraft/world/RaycastContext;getEnd()Lnet/minecraft/util/math/Vec3d;
      • getStart

        public Vec3d getStart()
        Mappings:
        Namespace Name Mixin selector
        official b Lbuz;b()Ldma;
        intermediary method_17750 Lnet/minecraft/class_3959;method_17750()Lnet/minecraft/class_243;
        named getStart Lnet/minecraft/world/RaycastContext;getStart()Lnet/minecraft/util/math/Vec3d;
      • getBlockShape

        public VoxelShape getBlockShape​(BlockState state,
                                        BlockView world,
                                        BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official a Lbuz;a(Lcjr;Lbuv;Lgb;)Ldmt;
        intermediary method_17748 Lnet/minecraft/class_3959;method_17748(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;
        named getBlockShape Lnet/minecraft/world/RaycastContext;getBlockShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
      • getFluidShape

        public VoxelShape getFluidShape​(FluidState state,
                                        BlockView world,
                                        BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official a Lbuz;a(Ldds;Lbuv;Lgb;)Ldmt;
        intermediary method_17749 Lnet/minecraft/class_3959;method_17749(Lnet/minecraft/class_3610;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;
        named getFluidShape Lnet/minecraft/world/RaycastContext;getFluidShape(Lnet/minecraft/fluid/FluidState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;