Package net.minecraft.world
Class RaycastContext
java.lang.Object
net.minecraft.world.RaycastContext
public class RaycastContext extends Object
- Mappings:
Namespace Name official btdintermediary net/minecraft/class_3959named net/minecraft/world/RaycastContext
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRaycastContext.FluidHandlingstatic interfaceRaycastContext.ShapeProviderstatic classRaycastContext.ShapeType -
Field Summary
Fields Modifier and Type Field Description private Vec3dendprivate ShapeContextentityPositionprivate RaycastContext.FluidHandlingfluidprivate RaycastContext.ShapeTypeshapeTypeprivate Vec3dstart -
Constructor Summary
Constructors Constructor Description RaycastContext(Vec3d start, Vec3d end, RaycastContext.ShapeType shapeType, RaycastContext.FluidHandling fluidHandling, Entity entity) -
Method Summary
Modifier and Type Method Description VoxelShapegetBlockShape(BlockState state, BlockView world, BlockPos pos)Vec3dgetEnd()VoxelShapegetFluidShape(FluidState state, BlockView world, BlockPos pos)Vec3dgetStart()
-
Field Details
-
start
- Mappings:
Namespace Name Mixin selector official aLbtd;a:Ldiu;intermediary field_17553Lnet/minecraft/class_3959;field_17553:Lnet/minecraft/class_243;named startLnet/minecraft/world/RaycastContext;start:Lnet/minecraft/util/math/Vec3d;
-
end
- Mappings:
Namespace Name Mixin selector official bLbtd;b:Ldiu;intermediary field_17554Lnet/minecraft/class_3959;field_17554:Lnet/minecraft/class_243;named endLnet/minecraft/world/RaycastContext;end:Lnet/minecraft/util/math/Vec3d;
-
shapeType
- Mappings:
Namespace Name Mixin selector official cLbtd;c:Lbtd$a;intermediary field_17555Lnet/minecraft/class_3959;field_17555:Lnet/minecraft/class_3959$class_3960;named shapeTypeLnet/minecraft/world/RaycastContext;shapeType:Lnet/minecraft/world/RaycastContext$ShapeType;
-
fluid
- Mappings:
Namespace Name Mixin selector official dLbtd;d:Lbtd$b;intermediary field_17556Lnet/minecraft/class_3959;field_17556:Lnet/minecraft/class_3959$class_242;named fluidLnet/minecraft/world/RaycastContext;fluid:Lnet/minecraft/world/RaycastContext$FluidHandling;
-
entityPosition
- Mappings:
Namespace Name Mixin selector official eLbtd;e:Ldiz;intermediary field_17557Lnet/minecraft/class_3959;field_17557:Lnet/minecraft/class_3726;named entityPositionLnet/minecraft/world/RaycastContext;entityPosition:Lnet/minecraft/block/ShapeContext;
-
-
Constructor Details
-
RaycastContext
public RaycastContext(Vec3d start, Vec3d end, RaycastContext.ShapeType shapeType, RaycastContext.FluidHandling fluidHandling, Entity entity)- Mappings:
Namespace Name Mixin selector official <init>Lbtd;<init>(Ldiu;Ldiu;Lbtd$a;Lbtd$b;Laqv;)Vintermediary <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;)Vnamed <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
-
-
Method Details
-
getEnd
- Mappings:
Namespace Name Mixin selector official aLbtd;a()Ldiu;intermediary method_17747Lnet/minecraft/class_3959;method_17747()Lnet/minecraft/class_243;named getEndLnet/minecraft/world/RaycastContext;getEnd()Lnet/minecraft/util/math/Vec3d;
-
getStart
- Mappings:
Namespace Name Mixin selector official bLbtd;b()Ldiu;intermediary method_17750Lnet/minecraft/class_3959;method_17750()Lnet/minecraft/class_243;named getStartLnet/minecraft/world/RaycastContext;getStart()Lnet/minecraft/util/math/Vec3d;
-
getBlockShape
- Mappings:
Namespace Name Mixin selector official aLbtd;a(Lcht;Lbsz;Lfx;)Ldjn;intermediary method_17748Lnet/minecraft/class_3959;method_17748(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;named getBlockShapeLnet/minecraft/world/RaycastContext;getBlockShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
-
getFluidShape
- Mappings:
Namespace Name Mixin selector official aLbtd;a(Ldal;Lbsz;Lfx;)Ldjn;intermediary method_17749Lnet/minecraft/class_3959;method_17749(Lnet/minecraft/class_3610;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;named getFluidShapeLnet/minecraft/world/RaycastContext;getFluidShape(Lnet/minecraft/fluid/FluidState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
-