Modifier and Type | Method and Description |
---|---|
Arena.Builder |
boundary(Boundary boundary)
|
Arena |
build()
Constructs a new object from this
Builder . |
Arena.Builder |
displayName(String displayName)
Sets the display name associated with this
Builder . |
Arena.Builder |
id(String id)
Sets the identifier associated with this
Builder . |
Arena.Builder |
spawnPoints(Location3D... spawnPoints)
Sets the spawn points associated with this
Builder . |
Arena.Builder id(String id)
Builder
. The string
will be converted to lowercase before being applied.
This field is required.
Arena.Builder displayName(String displayName)
Builder
.
This field is not required. If omitted, the unmodified string
passed to id(java.lang.String)
will be used instead.
Arena.Builder spawnPoints(Location3D... spawnPoints)
Builder
.
This field is required.
Arena.Builder boundary(Boundary boundary)
Arena build() throws IllegalStateException
Builder
Builder
.build
in interface Builder<Arena>
IllegalStateException
- If any fields required by this
Builder
have not been set