Package net.minecraft.world
Class RaycastContext
java.lang.Object
net.minecraft.world.RaycastContext
- Mappings:
Namespace Name named net/minecraft/world/RaycastContext
intermediary net/minecraft/class_3959
official dgp
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static interface
static enum
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Vec3d
private final RaycastContext.FluidHandling
private final ShapeContext
private final RaycastContext.ShapeType
private final Vec3d
-
Constructor Summary
ConstructorDescriptionRaycastContext
(Vec3d start, Vec3d end, RaycastContext.ShapeType shapeType, RaycastContext.FluidHandling fluidHandling, ShapeContext shapeContext) RaycastContext
(Vec3d start, Vec3d end, RaycastContext.ShapeType shapeType, RaycastContext.FluidHandling fluidHandling, Entity entity) -
Method Summary
Modifier and TypeMethodDescriptiongetBlockShape
(BlockState state, BlockView world, BlockPos pos) getEnd()
getFluidShape
(FluidState state, BlockView world, BlockPos pos) getStart()
-
Field Details
-
start
- Mappings:
Namespace Name Mixin selector named start
Lnet/minecraft/world/RaycastContext;start:Lnet/minecraft/util/math/Vec3d;
intermediary field_17553
Lnet/minecraft/class_3959;field_17553:Lnet/minecraft/class_243;
official a
Ldgp;a:Lfbx;
-
end
- Mappings:
Namespace Name Mixin selector named end
Lnet/minecraft/world/RaycastContext;end:Lnet/minecraft/util/math/Vec3d;
intermediary field_17554
Lnet/minecraft/class_3959;field_17554:Lnet/minecraft/class_243;
official b
Ldgp;b:Lfbx;
-
shapeType
- Mappings:
Namespace Name Mixin selector named shapeType
Lnet/minecraft/world/RaycastContext;shapeType:Lnet/minecraft/world/RaycastContext$ShapeType;
intermediary field_17555
Lnet/minecraft/class_3959;field_17555:Lnet/minecraft/class_3959$class_3960;
official c
Ldgp;c:Ldgp$a;
-
fluid
- Mappings:
Namespace Name Mixin selector named fluid
Lnet/minecraft/world/RaycastContext;fluid:Lnet/minecraft/world/RaycastContext$FluidHandling;
intermediary field_17556
Lnet/minecraft/class_3959;field_17556:Lnet/minecraft/class_3959$class_242;
official d
Ldgp;d:Ldgp$b;
-
shapeContext
- Mappings:
Namespace Name Mixin selector named shapeContext
Lnet/minecraft/world/RaycastContext;shapeContext:Lnet/minecraft/block/ShapeContext;
intermediary field_17557
Lnet/minecraft/class_3959;field_17557:Lnet/minecraft/class_3726;
official e
Ldgp;e:Lfcc;
-
-
Constructor Details
-
RaycastContext
public RaycastContext(Vec3d start, Vec3d end, RaycastContext.ShapeType shapeType, RaycastContext.FluidHandling fluidHandling, Entity entity) - Mappings:
Namespace Name Mixin selector 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
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
official <init>
Ldgp;<init>(Lfbx;Lfbx;Ldgp$a;Ldgp$b;Lbvj;)V
-
RaycastContext
public RaycastContext(Vec3d start, Vec3d end, RaycastContext.ShapeType shapeType, RaycastContext.FluidHandling fluidHandling, ShapeContext shapeContext) - Mappings:
Namespace Name Mixin selector 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/block/ShapeContext;)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_3726;)V
official <init>
Ldgp;<init>(Lfbx;Lfbx;Ldgp$a;Ldgp$b;Lfcc;)V
-
-
Method Details
-
getEnd
- Mappings:
Namespace Name Mixin selector named getEnd
Lnet/minecraft/world/RaycastContext;getEnd()Lnet/minecraft/util/math/Vec3d;
intermediary method_17747
Lnet/minecraft/class_3959;method_17747()Lnet/minecraft/class_243;
official a
Ldgp;a()Lfbx;
-
getStart
- Mappings:
Namespace Name Mixin selector named getStart
Lnet/minecraft/world/RaycastContext;getStart()Lnet/minecraft/util/math/Vec3d;
intermediary method_17750
Lnet/minecraft/class_3959;method_17750()Lnet/minecraft/class_243;
official b
Ldgp;b()Lfbx;
-
getBlockShape
- Mappings:
Namespace Name Mixin selector 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;
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;
official a
Ldgp;a(Ldxu;Ldgm;Ljh;)Lfcr;
-
getFluidShape
- Mappings:
Namespace Name Mixin selector 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;
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;
official a
Ldgp;a(Letw;Ldgm;Ljh;)Lfcr;
-