Ray

public class Ray extends Shape

Constructors

Link copied to clipboard
public void Ray(boolean ignoresSolidBlocks, double pointRadius, Location centerLocation, Location initialTargetLocation)

Properties

Link copied to clipboard
protected Location centerLocation
Link copied to clipboard
protected Location currentSource
Link copied to clipboard
protected Location currentTarget
Link copied to clipboard
protected final boolean ignoresSolidBlocks
Link copied to clipboard
protected Location initialTargetLocation
Link copied to clipboard
protected List<Location> locations
Link copied to clipboard
protected final double maxDistance
Link copied to clipboard
protected double thickness

Functions

Link copied to clipboard
public boolean borderContains(Location position)
public boolean borderContains(LivingEntity livingEntity)
Link copied to clipboard
public boolean contains(Location position)
public boolean contains(LivingEntity livingEntity)
Link copied to clipboard
protected List<Location> drawLine(Location location1, Location location2)
Link copied to clipboard
public Location getCenter()
Link copied to clipboard
public List<Location> getEdgeLocations()
Link copied to clipboard
public List<Location> getLocations()
Link copied to clipboard
public void visualize(Particle particle)