Uses of Enum Class
net.minecraft.world.RaycastContext.ShapeType
-
Uses of RaycastContext.ShapeType in net.minecraft.entity
Modifier and TypeMethodDescriptionboolean
LivingEntity.canSee
(Entity entity, RaycastContext.ShapeType shapeType, RaycastContext.FluidHandling fluidHandling, DoubleSupplier entityY) -
Uses of RaycastContext.ShapeType in net.minecraft.entity.projectile
Modifier and TypeMethodDescriptionprotected RaycastContext.ShapeType
ExplosiveProjectileEntity.getRaycastShapeType()
Modifier and TypeMethodDescriptionstatic HitResult
ProjectileUtil.getCollision
(Entity entity, Predicate<Entity> predicate, RaycastContext.ShapeType raycastShapeType) private static HitResult
ProjectileUtil.getCollision
(Vec3d pos, Entity entity, Predicate<Entity> predicate, Vec3d velocity, World world, float margin, RaycastContext.ShapeType raycastShapeType) -
Uses of RaycastContext.ShapeType in net.minecraft.world
Modifier and TypeMethodDescriptionstatic RaycastContext.ShapeType
Returns the enum constant of this class with the specified name.static RaycastContext.ShapeType[]
RaycastContext.ShapeType.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionRaycastContext
(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)