接口的使用
net.minecraft.block.ShapeContext
-
使用ShapeContext的程序包 程序包 说明 net.minecraft.block net.minecraft.entity net.minecraft.util.shape net.minecraft.world -
-
net.minecraft.block中ShapeContext的使用
实现ShapeContext的net.minecraft.block中的类 修饰符和类型 类 说明 classEntityShapeContext声明为ShapeContext的net.minecraft.block中的字段 修饰符和类型 字段 说明 protected static ShapeContextEntityShapeContext. ABSENT返回ShapeContext的net.minecraft.block中的方法 修饰符和类型 方法 说明 static ShapeContextShapeContext. absent()static ShapeContextShapeContext. of(Entity entity) -
net.minecraft.entity中ShapeContext的使用
参数类型为ShapeContext的net.minecraft.entity中的方法 修饰符和类型 方法 说明 static Vec3dEntity. adjustMovementForCollisions(@Nullable Entity entity, Vec3d movement, Box entityBoundingBox, World world, ShapeContext context, ReusableStream<VoxelShape> collisions)static Vec3dEntity. adjustSingleAxisMovementForCollisions(Vec3d movement, Box entityBoundingBox, WorldView world, ShapeContext context, ReusableStream<VoxelShape> collisions) -
net.minecraft.util.shape中ShapeContext的使用
参数类型为ShapeContext的net.minecraft.util.shape中的方法 修饰符和类型 方法 说明 private static doubleVoxelShapes. calculatePushVelocity(Box box, WorldView world, double initial, ShapeContext context, AxisCycleDirection direction, Stream<VoxelShape> shapes)static doubleVoxelShapes. calculatePushVelocity(Direction.Axis axis, Box box, WorldView world, double initial, ShapeContext context, Stream<VoxelShape> shapes) -
net.minecraft.world中ShapeContext的使用
声明为ShapeContext的net.minecraft.world中的字段 修饰符和类型 字段 说明 private ShapeContextBlockCollisionSpliterator. contextprivate ShapeContextRaycastContext. entityPosition参数类型为ShapeContext的net.minecraft.world中的方法 修饰符和类型 方法 说明 default booleanCollisionView. canPlace(BlockState state, BlockPos pos, ShapeContext context)VoxelShapeRaycastContext.ShapeProvider. get(BlockState state, BlockView world, BlockPos pos, ShapeContext context)VoxelShapeRaycastContext.ShapeType. get(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
-