public class RandomSpawnPoint extends Object
Modifier and Type | Field and Description |
---|---|
protected AbstractEntity |
entity |
protected float |
levelMod |
protected AbstractLocation |
location |
protected SpawnPointType |
pointType |
protected org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason |
spawnReason |
Constructor and Description |
---|
RandomSpawnPoint(AbstractEntity entity,
AbstractLocation location,
org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason spawnReason) |
RandomSpawnPoint(AbstractEntity entity,
AbstractLocation location,
org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason spawnReason,
SpawnPointType pt) |
RandomSpawnPoint(AbstractLocation location) |
RandomSpawnPoint(AbstractLocation location,
SpawnPointType pointType) |
Modifier and Type | Method and Description |
---|---|
org.bukkit.block.Biome |
getBiome() |
AbstractEntity |
getEntity() |
float |
getLevelMod() |
AbstractLocation |
getLocation() |
SpawnPointType |
getPointType() |
org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason |
getReason() |
void |
setLevelMod(float l) |
protected AbstractEntity entity
protected AbstractLocation location
protected org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason spawnReason
protected SpawnPointType pointType
protected float levelMod
public RandomSpawnPoint(AbstractLocation location)
public RandomSpawnPoint(AbstractLocation location, SpawnPointType pointType)
public RandomSpawnPoint(AbstractEntity entity, AbstractLocation location, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason spawnReason)
public RandomSpawnPoint(AbstractEntity entity, AbstractLocation location, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason spawnReason, SpawnPointType pt)
public AbstractEntity getEntity()
public AbstractLocation getLocation()
public org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason getReason()
public org.bukkit.block.Biome getBiome()
public SpawnPointType getPointType()
public float getLevelMod()
public void setLevelMod(float l)
Copyright © 2020. All rights reserved.