Record Class SchematicLoader.LobbySpawnData
java.lang.Object
java.lang.Record
xericker.arenalegends.core.instance.schematic.SchematicLoader.LobbySpawnData
- Enclosing class:
SchematicLoader
public static record SchematicLoader.LobbySpawnData(Map<LobbySpawn, org.bukkit.Location> singleSpawns, List<org.bukkit.Location> teamSpawns)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionLobbySpawnData(Map<LobbySpawn, org.bukkit.Location> singleSpawns, List<org.bukkit.Location> teamSpawns) Creates an instance of aLobbySpawnDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Map<LobbySpawn, org.bukkit.Location> Returns the value of thesingleSpawnsrecord component.List<org.bukkit.Location> Returns the value of theteamSpawnsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LobbySpawnData
public LobbySpawnData(Map<LobbySpawn, org.bukkit.Location> singleSpawns, List<org.bukkit.Location> teamSpawns) Creates an instance of aLobbySpawnDatarecord class.- Parameters:
singleSpawns- the value for thesingleSpawnsrecord componentteamSpawns- the value for theteamSpawnsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
singleSpawns
Returns the value of thesingleSpawnsrecord component.- Returns:
- the value of the
singleSpawnsrecord component
-
teamSpawns
Returns the value of theteamSpawnsrecord component.- Returns:
- the value of the
teamSpawnsrecord component
-