Nightbreak Java API
Toggle table of contents
JVM
Target filter
JVM
Switch theme
Search in API
Skip to content
Nightbreak Java API
MagmaCore
/
com.magmaguy.magmacore.scripting.zones
/
Sphere
Sphere
public
class
Sphere
extends
Shape
Inheritors
Dome
Members
Constructors
Sphere
Link copied to clipboard
public
void
Sphere
(
double radius
,
Location
centerLocation
,
double borderRadius
)
Properties
border
Radius
Link copied to clipboard
protected
double
borderRadius
center
Location
Link copied to clipboard
protected
Location
centerLocation
edge
Vectors
Link copied to clipboard
protected
List
<
Vector
>
edgeVectors
location
Vectors
Link copied to clipboard
protected
List
<
Vector
>
locationVectors
radius
Link copied to clipboard
protected
double
radius
Functions
border
Contains
Link copied to clipboard
public
boolean
borderContains
(
Location
position
)
public
boolean
borderContains
(
LivingEntity
livingEntity
)
contains
Link copied to clipboard
public
boolean
contains
(
Location
position
)
public
boolean
contains
(
LivingEntity
livingEntity
)
get
Center
Link copied to clipboard
public
Location
getCenter
(
)
get
Edge
Locations
Link copied to clipboard
public
List
<
Location
>
getEdgeLocations
(
)
get
Locations
Link copied to clipboard
public
List
<
Location
>
getLocations
(
)
get
Location
Vectors
Link copied to clipboard
protected
List
<
Vector
>
getLocationVectors
(
)
visualize
Link copied to clipboard
public
void
visualize
(
Particle
particle
)