public interface BukkitImplAdapter
| Modifier and Type | Method and Description |
|---|---|
org.bukkit.entity.Entity |
createEntity(org.bukkit.Location location,
BaseEntity state)
Create the given entity.
|
org.bukkit.block.Biome |
getBiome(int id)
Get the biome ID for the given biome ID..
|
int |
getBiomeId(org.bukkit.block.Biome biome)
Get the biome ID for the given biome.
|
BaseBlock |
getBlock(org.bukkit.Location location)
Get the block at the given location.
|
int |
getBlockId(org.bukkit.Material material)
Get the block ID for the given material.
|
BaseEntity |
getEntity(org.bukkit.entity.Entity entity)
Get the state for the given entity.
|
org.bukkit.Material |
getMaterial(int id)
Get the material for the given block ID.
|
boolean |
setBlock(org.bukkit.Location location,
BaseBlock state,
boolean notifyAndLight)
Set the block at the given location.
|
int getBlockId(org.bukkit.Material material)
Returns 0 if it is not known or it doesn't exist.
material - the materialorg.bukkit.Material getMaterial(int id)
Returns Material.AIR if it is not known or it doesn't exist.
id - the block IDint getBiomeId(org.bukkit.block.Biome biome)
Returns 0 if it is not known or it doesn't exist.
biome - biomeorg.bukkit.block.Biome getBiome(int id)
Returns Biome.OCEAN if it is not known or it doesn't exist.
id - the biome IDBaseBlock getBlock(org.bukkit.Location location)
location - the locationboolean setBlock(org.bukkit.Location location,
BaseBlock state,
boolean notifyAndLight)
location - the locationstate - the blocknotifyAndLight - notify and light if set@Nullable BaseEntity getEntity(org.bukkit.entity.Entity entity)
entity - the entity@Nullable org.bukkit.entity.Entity createEntity(org.bukkit.Location location, BaseEntity state)
location - the locationstate - the stateCopyright © 2010-2014. All Rights Reserved.