Class StructureSpawnHolder
java.lang.Object
com.ryandw11.structure.api.holder.StructureSpawnHolder
Holds specific information about the spawning of a structure for the event.
This is meant to be used internally and should not be accessed by other plugins.
Get the same information from the StructureSpawnEvent
.
-
Constructor Summary
ConstructorDescriptionStructureSpawnHolder(org.bukkit.Location minimumPoint, org.bukkit.Location maximumPoint, List<org.bukkit.Location> containersAndSignsLocations)
-
Method Summary
Modifier and TypeMethodDescriptionList<org.bukkit.Location>
Get the locations for containers and signs.org.bukkit.Location
The maximum point for a structure.org.bukkit.Location
The minimum point for a structure.
-
Constructor Details
-
StructureSpawnHolder
public StructureSpawnHolder(org.bukkit.Location minimumPoint, org.bukkit.Location maximumPoint, List<org.bukkit.Location> containersAndSignsLocations)
-
-
Method Details
-
getMinimumPoint
public org.bukkit.Location getMinimumPoint()The minimum point for a structure.See
StructureSpawnEvent.getMinimumPoint()
for additional details and usage.- Returns:
- The minimum point.
-
getMaximumPoint
public org.bukkit.Location getMaximumPoint()The maximum point for a structure.See
StructureSpawnEvent.getMaximumPoint()
for additional details and usage.- Returns:
- The maximum point.
-
getContainersAndSignsLocations
Get the locations for containers and signs.- Returns:
- The locations for containers and signs.
-