public class BukkitWorld extends Object implements AbstractWorld
Constructor and Description |
---|
BukkitWorld() |
BukkitWorld(String world) |
BukkitWorld(org.bukkit.World w) |
public BukkitWorld()
public BukkitWorld(org.bukkit.World w)
public BukkitWorld(String world)
public org.bukkit.World getBukkitWorld()
public boolean isLoaded()
isLoaded
in interface AbstractWorld
public List<AbstractEntity> getLivingEntities()
getLivingEntities
in interface AbstractWorld
public String getName()
getName
in interface AbstractWorld
public UUID getUniqueId()
getUniqueId
in interface AbstractWorld
public boolean equals(Object other)
equals
in interface AbstractWorld
equals
in class Object
public int getMaxY()
public void createExplosion(AbstractLocation l, float f)
createExplosion
in interface AbstractWorld
public void createExplosion(AbstractLocation l, float yield, boolean fire, boolean blockdamage)
createExplosion
in interface AbstractWorld
public List<AbstractPlayer> getPlayers()
getPlayers
in interface AbstractWorld
public void setStorm(boolean b)
setStorm
in interface AbstractWorld
public void setThundering(boolean b)
setThundering
in interface AbstractWorld
public void setWeatherDuration(int duration)
setWeatherDuration
in interface AbstractWorld
public boolean playEffect(AbstractLocation location, int type)
playEffect
in interface AbstractWorld
public boolean playEffect(AbstractLocation location, int type, int data)
playEffect
in interface AbstractWorld
public int getBlockLightLevel(AbstractLocation l)
getBlockLightLevel
in interface AbstractWorld
public AbstractLocation getSpawnLocation()
getSpawnLocation
in interface AbstractWorld
public boolean isChunkLoaded(int x, int z)
isChunkLoaded
in interface AbstractWorld
public int getEntitiesInChunk(int x, int z)
getEntitiesInChunk
in interface AbstractWorld
public boolean isLocationLoaded(AbstractLocation abstractLocation)
isLocationLoaded
in interface AbstractWorld
public List<AbstractPlayer> getPlayersNearLocation(AbstractLocation location, int radius)
getPlayersNearLocation
in interface AbstractWorld
public AbstractBiome getLocationBiome(AbstractLocation abstractLocation)
getLocationBiome
in interface AbstractWorld
public long getFullTime()
getFullTime
in interface AbstractWorld
Copyright © 2020. All rights reserved.