public class UndergroundSpawn extends Object implements StructureSpawnInfo
Constructor and Description |
---|
UndergroundSpawn(int depth) |
Modifier and Type | Method and Description |
---|---|
org.bukkit.Location |
getSpawnLocation(org.bukkit.Location init,
Random r) |
boolean |
isValidSpawn(NMSStructure s) |
public org.bukkit.Location getSpawnLocation(org.bukkit.Location init, Random r)
getSpawnLocation
in interface StructureSpawnInfo
public boolean isValidSpawn(NMSStructure s)
isValidSpawn
in interface StructureSpawnInfo
Copyright © 2020. All rights reserved.