Deprecated API


Contents
Deprecated Interfaces
org.bukkit.block.ContainerBlock
          in favour of InventoryHolder 
org.bukkit.entity.FallingSand
          See FallingBlock 
org.bukkit.entity.Fish
          in favor of FishHook 
org.bukkit.entity.PoweredMinecart
          This class has been moved into a sub package; PoweredMinecart should be used instead. 
org.bukkit.entity.StorageMinecart
          This class has been moved into a sub package; StorageMinecart should be used instead. 
org.bukkit.command.TabCommandExecutor
          Remains for plugins that would have implemented it even without functionality 
org.bukkit.UnsafeValues
          Unsupported & internal use only 
 

Deprecated Classes
org.bukkit.material.Door
          No longer functions. Do not use. 
org.bukkit.event.painting.PaintingBreakByEntityEvent
          Use HangingBreakByEntityEvent instead. 
org.bukkit.event.painting.PaintingBreakEvent
          Use HangingBreakEvent instead. 
org.bukkit.event.painting.PaintingEvent
          Use HangingEvent instead. 
org.bukkit.event.painting.PaintingPlaceEvent
          Use HangingPlaceEvent instead. 
org.bukkit.event.player.PlayerChatEvent
          This event will fire from the main thread and allows the use of all of the Bukkit API, unlike the AsyncPlayerChatEvent.

Listening to this event forces chat to wait for the main thread which causes delays for chat. AsyncPlayerChatEvent is the encouraged alternative for thread safe implementations. 

org.bukkit.event.player.PlayerInventoryEvent
          Use InventoryClickEvent or InventoryOpenEvent instead, or one of the other inventory events in org.bukkit.event.inventory. 
org.bukkit.event.player.PlayerPreLoginEvent
          This event causes synchronization from the login thread; AsyncPlayerPreLoginEvent is preferred to keep the secondary threads asynchronous. 
 

Deprecated Enums
org.bukkit.entity.CreatureType
          Use EntityType instead. 
org.bukkit.potion.Potion.Tier
           
 

Deprecated Fields
org.bukkit.map.MapPalette.BLUE
          Magic value 
org.bukkit.map.MapPalette.BROWN
          Magic value 
org.bukkit.map.MapPalette.DARK_BROWN
          Magic value 
org.bukkit.map.MapPalette.DARK_GRAY
          Magic value 
org.bukkit.map.MapPalette.DARK_GREEN
          Magic value 
org.bukkit.map.MapPalette.GRAY_1
          Magic value 
org.bukkit.map.MapPalette.GRAY_2
          Magic value 
org.bukkit.map.MapPalette.LIGHT_BROWN
          Magic value 
org.bukkit.map.MapPalette.LIGHT_GRAY
          Magic value 
org.bukkit.map.MapPalette.LIGHT_GREEN
          Magic value 
org.bukkit.event.block.BlockCanBuildEvent.material
          Magic value 
org.bukkit.map.MapPalette.PALE_BLUE
          Magic value 
org.bukkit.map.MapPalette.RED
          Magic value 
org.bukkit.configuration.file.FileConfiguration.SYSTEM_UTF
          temporary compatibility measure 
org.bukkit.map.MapPalette.TRANSPARENT
          Magic value 
org.bukkit.configuration.file.FileConfiguration.UTF_BIG
          temporary compatibility measure 
org.bukkit.configuration.file.FileConfiguration.UTF8_OVERRIDE
          temporary compatibility measure 
org.bukkit.map.MapPalette.WHITE
          Magic value 
 

Deprecated Methods
org.bukkit.entity.Damageable._INVALID_damage(int)
           
org.bukkit.entity.Damageable._INVALID_damage(int, Entity)
           
org.bukkit.event.entity.EntityRegainHealthEvent._INVALID_getAmount()
           
org.bukkit.event.entity.EntityDamageEvent._INVALID_getDamage()
           
org.bukkit.event.vehicle.VehicleDamageEvent._INVALID_getDamage()
           
org.bukkit.entity.Minecart._INVALID_getDamage()
           
org.bukkit.entity.Damageable._INVALID_getHealth()
           
org.bukkit.entity.LivingEntity._INVALID_getLastDamage()
           
org.bukkit.entity.Damageable._INVALID_getMaxHealth()
           
org.bukkit.Bukkit._INVALID_getOnlinePlayers()
           
org.bukkit.Server._INVALID_getOnlinePlayers()
           
org.bukkit.entity.Projectile._INVALID_getShooter()
           
org.bukkit.event.entity.EntityRegainHealthEvent._INVALID_setAmount(int)
           
org.bukkit.event.entity.EntityDamageEvent._INVALID_setDamage(int)
           
org.bukkit.event.vehicle.VehicleDamageEvent._INVALID_setDamage(int)
           
org.bukkit.entity.Minecart._INVALID_setDamage(int)
           
org.bukkit.entity.Damageable._INVALID_setHealth(int)
           
org.bukkit.entity.LivingEntity._INVALID_setLastDamage(int)
           
org.bukkit.entity.Damageable._INVALID_setMaxHealth(int)
           
org.bukkit.entity.Projectile._INVALID_setShooter(LivingEntity)
           
org.bukkit.map.MapCursorCollection.addCursor(int, int, byte, byte)
          Magic value 
org.bukkit.map.MapCursorCollection.addCursor(int, int, byte, byte, boolean)
          Magic value 
org.bukkit.inventory.ShapelessRecipe.addIngredient(int, Material, int)
          Magic value 
org.bukkit.inventory.ShapelessRecipe.addIngredient(Material, int)
          Magic value 
org.bukkit.inventory.Inventory.all(int)
          Magic value 
org.bukkit.map.MapCursor.Type.byValue(byte)
          Magic value 
org.bukkit.inventory.PlayerInventory.clear(int, int)
          Magic value 
org.bukkit.inventory.Inventory.contains(int)
          Magic value 
org.bukkit.inventory.Inventory.contains(int, int)
          Magic value 
org.bukkit.event.player.AsyncPlayerPreLoginEvent.disallow(PlayerPreLoginEvent.Result, String)
          This method uses a deprecated enum from PlayerPreLoginEvent 
org.bukkit.inventory.Inventory.first(int)
          Magic value 
org.bukkit.potion.Potion.fromDamage(int)
          Magic value 
org.bukkit.entity.EntityType.fromId(int)
          Magic value 
org.bukkit.entity.CreatureType.fromId(int)
          Magic value 
org.bukkit.entity.EntityType.fromName(String)
          Magic value 
org.bukkit.generator.ChunkGenerator.generate(World, Random, int, int)
           
org.bukkit.generator.ChunkGenerator.generateBlockSections(World, Random, int, int, ChunkGenerator.BiomeGrid)
          Magic value 
org.bukkit.generator.ChunkGenerator.generateExtBlockSections(World, Random, int, int, ChunkGenerator.BiomeGrid)
          Magic value 
org.bukkit.entity.FallingBlock.getBlockData()
          Magic value 
org.bukkit.ChunkSnapshot.getBlockData(int, int, int)
          Magic value 
org.bukkit.entity.FallingBlock.getBlockId()
          Magic value 
org.bukkit.ChunkSnapshot.getBlockTypeId(int, int, int)
          Magic value 
org.bukkit.World.getBlockTypeIdAt(int, int, int)
          Magic value 
org.bukkit.World.getBlockTypeIdAt(Location)
          Magic value 
org.bukkit.potion.PotionType.getByDamageValue(int)
          Magic value 
org.bukkit.GrassSpecies.getByData(byte)
          Magic value 
org.bukkit.CropState.getByData(byte)
          Magic value 
org.bukkit.EntityEffect.getByData(byte)
          Magic value 
org.bukkit.TreeSpecies.getByData(byte)
          Magic value 
org.bukkit.DyeColor.getByData(byte)
          The name is misleading. It would imply Material.INK_SACK but uses Material.WOOL 
org.bukkit.SandstoneType.getByData(byte)
          Magic value 
org.bukkit.CoalType.getByData(byte)
          Magic value 
org.bukkit.DyeColor.getByDyeData(byte)
          Magic value 
org.bukkit.Note.Tone.getById(byte)
          Magic value 
org.bukkit.Art.getById(int)
          Magic value 
org.bukkit.Effect.getById(int)
          Magic value 
org.bukkit.potion.PotionEffectType.getById(int)
          Magic value 
org.bukkit.block.PistonMoveReaction.getById(int)
          Magic value 
org.bukkit.enchantments.Enchantment.getById(int)
          Magic value 
org.bukkit.Instrument.getByType(byte)
          Magic value 
org.bukkit.GameMode.getByValue(int)
          Magic value 
org.bukkit.Difficulty.getByValue(int)
          Magic value 
org.bukkit.DyeColor.getByWoolData(byte)
          Magic value 
org.bukkit.event.block.BlockPhysicsEvent.getChangedTypeId()
          Magic value 
org.bukkit.plugin.PluginDescriptionFile.getClassLoaderOf()
          unused 
org.bukkit.map.MapPalette.getColor(byte)
          Magic value 
org.bukkit.material.ExtendedRails.getConvertedData()
          Magic value 
org.bukkit.material.Rails.getConvertedData()
          Magic value 
org.bukkit.block.CreatureSpawner.getCreatureType()
          In favour of CreatureSpawner.getSpawnedType(). 
org.bukkit.event.entity.CreatureSpawnEvent.getCreatureType()
          In favour of EntityEvent.getEntityType(). 
org.bukkit.block.CreatureSpawner.getCreatureTypeId()
          Use CreatureSpawner.getCreatureTypeName(). 
org.bukkit.potion.PotionType.getDamageValue()
          Magic value 
org.bukkit.GrassSpecies.getData()
          Magic value 
org.bukkit.CropState.getData()
          Magic value 
org.bukkit.EntityEffect.getData()
          Magic value 
org.bukkit.TreeSpecies.getData()
          Magic value 
org.bukkit.DyeColor.getData()
          The name is misleading. It would imply Material.INK_SACK but uses Material.WOOL 
org.bukkit.SandstoneType.getData()
          Magic value 
org.bukkit.CoalType.getData()
          Magic value 
org.bukkit.material.MaterialData.getData()
          Magic value 
org.bukkit.block.Block.getData()
          Magic value 
org.bukkit.event.entity.EntityChangeBlockEvent.getData()
          Magic value 
org.bukkit.DyeColor.getDyeData()
          Magic value 
org.bukkit.potion.PotionBrewer.getEffectsFromDamage(int)
          Magic value 
org.bukkit.World.getEntitiesByClass(Class...)
           
org.bukkit.World.Environment.getEnvironment(int)
          Magic value 
org.bukkit.material.Door.getFacing()
          Does not work (correctly) anymore 
org.bukkit.event.player.PlayerCommandPreprocessEvent.getFormat()
          This method is provided for backward compatibility with no guarantee to the use of the format. 
org.bukkit.event.inventory.FurnaceBurnEvent.getFurnace()
          In favour of BlockEvent.getBlock(). 
org.bukkit.event.inventory.FurnaceSmeltEvent.getFurnace()
          In favour of BlockEvent.getBlock(). 
org.bukkit.event.player.PlayerEggThrowEvent.getHatchType()
          In favour of PlayerEggThrowEvent.getHatchingType(). 
org.bukkit.material.Door.getHingeCorner()
          Does not work (correctly) anymore 
org.bukkit.Art.getId()
          Magic value 
org.bukkit.Material.getId()
          Magic value 
org.bukkit.Effect.getId()
          Magic value 
org.bukkit.Note.getId()
          Magic value 
org.bukkit.Note.Tone.getId()
          Magic value 
org.bukkit.World.Environment.getId()
          Magic value 
org.bukkit.potion.PotionEffectType.getId()
          Magic value 
org.bukkit.inventory.InventoryView.Property.getId()
          Magic value 
org.bukkit.block.PistonMoveReaction.getId()
          Magic value 
org.bukkit.enchantments.Enchantment.getId()
          Magic value 
org.bukkit.map.MapView.getId()
          Magic value 
org.bukkit.entity.Skeleton.SkeletonType.getId()
          Magic value 
org.bukkit.entity.Villager.Profession.getId()
          Magic value 
org.bukkit.entity.Ocelot.Type.getId()
          Magic value 
org.bukkit.Note.Tone.getId(boolean)
          Magic value 
org.bukkit.material.MaterialData.getItemTypeId()
          Magic value 
org.bukkit.entity.LivingEntity.getLastTwoTargetBlocks(HashSet, int)
          Magic value 
org.bukkit.entity.LivingEntity.getLineOfSight(HashSet, int)
          Magic value 
org.bukkit.Bukkit.getMap(short)
          Magic value 
org.bukkit.Server.getMap(short)
          Magic value 
org.bukkit.Material.getMaterial(int)
          Magic value 
org.bukkit.event.block.BlockCanBuildEvent.getMaterialId()
          Magic value 
org.bukkit.entity.EntityType.getName()
          Magic value 
org.bukkit.potion.Potion.getNameId()
          Magic value 
org.bukkit.Material.getNewData(byte)
          Magic value 
org.bukkit.Bukkit.getOfflinePlayer(String)
           
org.bukkit.Server.getOfflinePlayer(String)
          Persistent storage of users should be by UUID as names are no longer unique past a single session. 
org.bukkit.scoreboard.Score.getPlayer()
          Scoreboards can contain entries that aren't players 
org.bukkit.Bukkit.getPlayer(String)
           
org.bukkit.Server.getPlayer(String)
          Use Server.getPlayer(UUID) as player names are no longer guaranteed to be unique 
org.bukkit.Bukkit.getPlayerExact(String)
           
org.bukkit.Server.getPlayerExact(String)
          Use Server.getPlayer(UUID) as player names are no longer guaranteed to be unique 
org.bukkit.scoreboard.Scoreboard.getPlayers()
          Scoreboards can contain entries that aren't players 
org.bukkit.entity.Villager.Profession.getProfession(int)
          Magic value 
org.bukkit.block.BlockState.getRawData()
          Magic value 
org.bukkit.plugin.PluginDescriptionFile.getRawName()
          Internal use 
org.bukkit.block.NoteBlock.getRawNote()
          Magic value 
org.bukkit.map.MapCursor.getRawType()
          Magic value 
org.bukkit.event.player.PlayerCommandPreprocessEvent.getRecipients()
          This method is provided for backward compatibility with no guarantee to the effect of viewing or modifying the set. 
org.bukkit.event.player.AsyncPlayerPreLoginEvent.getResult()
          This method uses a deprecated enum from PlayerPreLoginEvent 
org.bukkit.scoreboard.Objective.getScore(OfflinePlayer)
          Scoreboards can contain entries that aren't players 
org.bukkit.scoreboard.Scoreboard.getScores(OfflinePlayer)
          Scoreboards can contain entries that aren't players 
org.bukkit.entity.LivingEntity.getTargetBlock(HashSet, int)
          Magic value 
org.bukkit.material.Step.getTextureIndex()
          Magic value 
org.bukkit.material.TexturedMaterial.getTextureIndex()
          Magic value 
org.bukkit.potion.Potion.getTier()
           
org.bukkit.Instrument.getType()
          Magic value 
org.bukkit.entity.Skeleton.SkeletonType.getType(int)
          Magic value 
org.bukkit.entity.Ocelot.Type.getType(int)
          Magic value 
org.bukkit.inventory.ItemStack.getTypeId()
          Magic value 
org.bukkit.block.Block.getTypeId()
          Magic value 
org.bukkit.block.BlockState.getTypeId()
          Magic value 
org.bukkit.entity.EntityType.getTypeId()
          Magic value 
org.bukkit.entity.CreatureType.getTypeId()
          Magic value 
org.bukkit.BlockChangeDelegate.getTypeId(int, int, int)
          Magic value 
org.bukkit.Bukkit.getUnsafe()
           
org.bukkit.Server.getUnsafe()
           
org.bukkit.GameMode.getValue()
          Magic value 
org.bukkit.Difficulty.getValue()
          Magic value 
org.bukkit.map.MapCursor.Type.getValue()
          Magic value 
org.bukkit.map.MapView.Scale.getValue()
          Magic value 
org.bukkit.DyeColor.getWoolData()
          Magic value 
org.bukkit.map.MapPalette.imageToBytes(Image)
          Magic value 
org.bukkit.plugin.java.JavaPlugin.initialize(PluginLoader, Server, PluginDescriptionFile, File, File, ClassLoader)
          This method is legacy and will be removed - it must be replaced by the specially provided constructor(s). 
org.bukkit.plugin.java.JavaPlugin.isInitialized()
          This method cannot return false, as JavaPlugin is now initialized in the constructor. 
org.bukkit.entity.Player.isOnGround()
          Inconsistent with Entity.isOnGround() 
org.bukkit.material.Door.isOpen()
          Does not work (correctly) anymore 
org.bukkit.Note.Tone.isSharped(byte)
          Magic value 
org.bukkit.configuration.file.FileConfiguration.load(InputStream)
          This does not consider encoding 
org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(InputStream)
          does not properly consider encoding 
org.bukkit.map.MapPalette.matchColor(Color)
          Magic value 
org.bukkit.map.MapPalette.matchColor(int, int, int)
          Magic value 
org.bukkit.Bukkit.matchPlayer(String)
           
org.bukkit.Server.matchPlayer(String)
          Use Server.getPlayer(UUID) as player names are no longer guaranteed to be unique 
org.bukkit.block.NoteBlock.play(byte, byte)
          Magic value 
org.bukkit.entity.Player.playEffect(Location, Effect, int)
          Magic value 
org.bukkit.entity.Player.playNote(Location, byte, byte)
          Magic value 
org.bukkit.entity.Player.playSound(Location, String, float, float)
          Magic value 
org.bukkit.inventory.Inventory.remove(int)
          Magic value 
org.bukkit.inventory.ShapelessRecipe.removeIngredient(int, Material, int)
          Magic value 
org.bukkit.inventory.ShapelessRecipe.removeIngredient(Material, int)
          Magic value 
org.bukkit.scoreboard.Scoreboard.resetScores(OfflinePlayer)
          Scoreboards can contain entries that aren't players 
org.bukkit.scheduler.BukkitScheduler.runTask(Plugin, BukkitRunnable)
          Use BukkitRunnable.runTask(Plugin) 
org.bukkit.scheduler.BukkitScheduler.runTaskAsynchronously(Plugin, BukkitRunnable)
          Use BukkitRunnable.runTaskAsynchronously(Plugin) 
org.bukkit.scheduler.BukkitScheduler.runTaskLater(Plugin, BukkitRunnable, long)
          Use BukkitRunnable.runTaskLater(Plugin, long) 
org.bukkit.scheduler.BukkitScheduler.runTaskLaterAsynchronously(Plugin, BukkitRunnable, long)
          Use BukkitRunnable.runTaskLaterAsynchronously(Plugin, long) 
org.bukkit.scheduler.BukkitScheduler.runTaskTimer(Plugin, BukkitRunnable, long, long)
          Use BukkitRunnable.runTaskTimer(Plugin, long, long) 
org.bukkit.scheduler.BukkitScheduler.runTaskTimerAsynchronously(Plugin, BukkitRunnable, long, long)
          Use BukkitRunnable.runTaskTimerAsynchronously(Plugin, long, long) 
org.bukkit.scheduler.BukkitScheduler.scheduleAsyncDelayedTask(Plugin, Runnable)
          This name is misleading, as it does not schedule "a sync" task, but rather, "an async" task 
org.bukkit.scheduler.BukkitScheduler.scheduleAsyncDelayedTask(Plugin, Runnable, long)
          This name is misleading, as it does not schedule "a sync" task, but rather, "an async" task 
org.bukkit.scheduler.BukkitScheduler.scheduleAsyncRepeatingTask(Plugin, Runnable, long, long)
          This name is misleading, as it does not schedule "a sync" task, but rather, "an async" task 
org.bukkit.scheduler.BukkitScheduler.scheduleSyncDelayedTask(Plugin, BukkitRunnable)
          Use BukkitRunnable.runTask(Plugin) 
org.bukkit.scheduler.BukkitScheduler.scheduleSyncDelayedTask(Plugin, BukkitRunnable, long)
          Use BukkitRunnable.runTaskLater(Plugin, long) 
org.bukkit.scheduler.BukkitScheduler.scheduleSyncRepeatingTask(Plugin, BukkitRunnable, long, long)
          Use BukkitRunnable.runTaskTimer(Plugin, long, long) 
org.bukkit.entity.Player.sendBlockChange(Location, int, byte)
          Magic value 
org.bukkit.entity.Player.sendBlockChange(Location, Material, byte)
          Magic value 
org.bukkit.entity.Player.sendChunkChange(Location, int, int, int, byte[])
          Magic value 
org.bukkit.OfflinePlayer.setBanned(boolean)
          Use BanList.addBan(String, String, Date, String) or BanList.pardon(String) to enhance functionality 
org.bukkit.block.CreatureSpawner.setCreatureType(CreatureType)
          In favour of CreatureSpawner.setSpawnedType(EntityType). 
org.bukkit.block.CreatureSpawner.setCreatureTypeId(String)
          Use CreatureSpawner.setCreatureTypeByName(String). 
org.bukkit.event.inventory.InventoryClickEvent.setCursor(ItemStack)
          This changes the ItemStack in their hand before any calculations are applied to the Inventory, which has a tendency to create inconsistencies between the Player and the server, and to make unexpected changes in the behavior of the clicked Inventory. 
org.bukkit.material.MaterialData.setData(byte)
          Magic value 
org.bukkit.block.Block.setData(byte)
          Magic value 
org.bukkit.block.Block.setData(byte, boolean)
          Magic value 
org.bukkit.material.Door.setFacingDirection(BlockFace)
          Does not work (correctly) anymore 
org.bukkit.event.player.PlayerCommandPreprocessEvent.setFormat(String)
          This method is provided for backward compatibility with no guarantee to the effect of modifying the format. 
org.bukkit.event.player.PlayerEggThrowEvent.setHatchType(CreatureType)
          In favour of PlayerEggThrowEvent.setHatchingType(EntityType). 
org.bukkit.inventory.ShapedRecipe.setIngredient(char, Material, int)
          Magic value 
org.bukkit.inventory.FurnaceRecipe.setInput(Material, int)
          Magic value 
org.bukkit.material.Door.setOpen(boolean)
          Does not work (correctly) anymore 
org.bukkit.block.BlockState.setRawData(byte)
          Magic value 
org.bukkit.block.NoteBlock.setRawNote(byte)
          Magic value 
org.bukkit.map.MapCursor.setRawType(byte)
          Magic value 
org.bukkit.BlockChangeDelegate.setRawTypeId(int, int, int, int)
          Magic value 
org.bukkit.BlockChangeDelegate.setRawTypeIdAndData(int, int, int, int, int)
          Magic value 
org.bukkit.event.player.AsyncPlayerPreLoginEvent.setResult(PlayerPreLoginEvent.Result)
          This method uses a deprecated enum from PlayerPreLoginEvent 
org.bukkit.material.Step.setTextureIndex(int)
          Magic value 
org.bukkit.material.TexturedMaterial.setTextureIndex(int)
          Magic value 
org.bukkit.entity.Player.setTexturePack(String)
          Minecraft no longer uses textures packs. Instead you should use Player.setResourcePack(String). 
org.bukkit.potion.Potion.setTier(Potion.Tier)
          In favour of Potion.setLevel(int) 
org.bukkit.material.Door.setTopHalf(boolean)
          Shouldn't be used anymore 
org.bukkit.inventory.ItemStack.setTypeId(int)
          Magic value 
org.bukkit.block.Block.setTypeId(int)
          Magic value 
org.bukkit.block.BlockState.setTypeId(int)
          Magic value 
org.bukkit.block.Block.setTypeId(int, boolean)
          Magic value 
org.bukkit.BlockChangeDelegate.setTypeId(int, int, int, int)
          Magic value 
org.bukkit.block.Block.setTypeIdAndData(int, byte, boolean)
          Magic value 
org.bukkit.BlockChangeDelegate.setTypeIdAndData(int, int, int, int, int)
          Magic value 
org.bukkit.entity.LivingEntity.shootArrow()
          use launchProjectile(Arrow.class) instead 
org.bukkit.World.spawnCreature(Location, CreatureType)
           
org.bukkit.World.spawnCreature(Location, EntityType)
          Has issues spawning non LivingEntities. Use spawnEntity instead. 
org.bukkit.World.spawnFallingBlock(Location, int, byte)
          Magic value 
org.bukkit.World.spawnFallingBlock(Location, Material, byte)
          Magic value 
org.bukkit.command.Command.tabComplete(CommandSender, String[])
          This method is not supported and returns null 
org.bukkit.entity.LivingEntity.throwEgg()
          use launchProjectile(Egg.class) instead 
org.bukkit.entity.LivingEntity.throwSnowball()
          use launchProjectile(Snowball.class) instead 
org.bukkit.potion.Potion.toDamageValue()
          Magic value 
org.bukkit.entity.CreatureType.toEntityType()
           
org.bukkit.entity.Player.updateInventory()
          This method should not be relied upon as it is a temporary work-around for a larger, more complicated issue. 
org.bukkit.map.MapView.Scale.valueOf(byte)
          Magic value 
 

Deprecated Constructors
org.bukkit.event.player.AsyncPlayerPreLoginEvent(String, InetAddress)
           
org.bukkit.material.Bed(int)
          Magic value 
org.bukkit.material.Bed(int, byte)
          Magic value 
org.bukkit.material.Bed(Material, byte)
          Magic value 
org.bukkit.event.block.BlockCanBuildEvent(Block, int, boolean)
          Magic value 
org.bukkit.event.block.BlockIgniteEvent(Block, BlockIgniteEvent.IgniteCause, Player)
          use BlockIgniteEvent.BlockIgniteEvent(Block, IgniteCause, Entity) instead. 
org.bukkit.event.block.BlockPhysicsEvent(Block, int)
          Magic value 
org.bukkit.material.Button(int)
          Magic value 
org.bukkit.material.Button(int, byte)
          Magic value 
org.bukkit.material.Button(Material, byte)
          Magic value 
org.bukkit.material.Cake(int)
          Magic value 
org.bukkit.material.Cake(int, byte)
          Magic value 
org.bukkit.material.Cake(Material, byte)
          Magic value 
org.bukkit.material.Cauldron(byte)
          Magic value 
org.bukkit.material.Cauldron(int, byte)
          Magic value 
org.bukkit.material.Chest(int)
          Magic value 
org.bukkit.material.Chest(int, byte)
          Magic value 
org.bukkit.material.Chest(Material, byte)
          Magic value 
org.bukkit.material.Coal(int)
          Magic value 
org.bukkit.material.Coal(int, byte)
          Magic value 
org.bukkit.material.Coal(Material, byte)
          Magic value 
org.bukkit.material.CocoaPlant(int)
          Magic value 
org.bukkit.material.CocoaPlant(int, byte)
          Magic value 
org.bukkit.material.Command(int)
          Magic value 
org.bukkit.material.Command(int, byte)
          Magic value 
org.bukkit.material.Command(Material, byte)
          Magic value 
org.bukkit.event.inventory.CraftItemEvent(Recipe, InventoryView, InventoryType.SlotType, int, boolean, boolean)
           
org.bukkit.event.entity.CreatureSpawnEvent(Entity, CreatureType, Location, CreatureSpawnEvent.SpawnReason)
           
org.bukkit.material.Crops(int)
          Magic value 
org.bukkit.material.Crops(int, byte)
          Magic value 
org.bukkit.material.Crops(Material, byte)
          Magic value 
org.bukkit.material.DetectorRail(int)
          Magic value 
org.bukkit.material.DetectorRail(int, byte)
          Magic value 
org.bukkit.material.DetectorRail(Material, byte)
          Magic value 
org.bukkit.material.Diode(int)
          Magic value 
org.bukkit.material.Diode(int, byte)
          Magic value 
org.bukkit.material.Diode(Material, byte)
          Magic value 
org.bukkit.material.DirectionalContainer(int)
          Magic value 
org.bukkit.material.DirectionalContainer(int, byte)
          Magic value 
org.bukkit.material.DirectionalContainer(Material, byte)
          Magic value 
org.bukkit.material.Dispenser(int)
          Magic value 
org.bukkit.material.Dispenser(int, byte)
          Magic value 
org.bukkit.material.Dispenser(Material, byte)
          Magic value 
org.bukkit.material.Door(int)
          Magic value 
org.bukkit.material.Door(int, byte)
          Magic value 
org.bukkit.material.Door(Material, byte)
          Magic value 
org.bukkit.material.Dye(int)
          Magic value 
org.bukkit.material.Dye(int, byte)
          Magic value 
org.bukkit.material.Dye(Material, byte)
          Magic value 
org.bukkit.material.EnderChest(int)
          Magic value 
org.bukkit.material.EnderChest(int, byte)
          Magic value 
org.bukkit.material.EnderChest(Material, byte)
          Magic value 
org.bukkit.event.entity.EntityChangeBlockEvent(Entity, Block, Material, byte)
          Magic value 
org.bukkit.event.entity.EntityChangeBlockEvent(LivingEntity, Block, Material)
          Provided as a backward compatibility before the data byte was provided, and type increased to all entities 
org.bukkit.event.entity.EntityDamageByBlockEvent(Block, Entity, EntityDamageEvent.DamageCause, double)
           
org.bukkit.event.entity.EntityDamageByBlockEvent(Block, Entity, EntityDamageEvent.DamageCause, int)
           
org.bukkit.event.entity.EntityDamageByEntityEvent(Entity, Entity, EntityDamageEvent.DamageCause, double)
           
org.bukkit.event.entity.EntityDamageByEntityEvent(Entity, Entity, EntityDamageEvent.DamageCause, int)
           
org.bukkit.event.entity.EntityDamageEvent(Entity, EntityDamageEvent.DamageCause, double)
           
org.bukkit.event.entity.EntityDamageEvent(Entity, EntityDamageEvent.DamageCause, int)
           
org.bukkit.event.entity.EntityRegainHealthEvent(Entity, int, EntityRegainHealthEvent.RegainReason)
           
org.bukkit.material.ExtendedRails(int)
          Magic value 
org.bukkit.material.ExtendedRails(int, byte)
          Magic value 
org.bukkit.material.ExtendedRails(Material, byte)
          Magic value 
org.bukkit.material.FlowerPot(int)
          Magic value 
org.bukkit.material.FlowerPot(int, byte)
          Magic value 
org.bukkit.material.FlowerPot(Material, byte)
          Magic value 
org.bukkit.material.Furnace(int)
          Magic value 
org.bukkit.material.Furnace(int, byte)
          Magic value 
org.bukkit.material.Furnace(Material, byte)
          Magic value 
org.bukkit.material.FurnaceAndDispenser(int)
          Magic value 
org.bukkit.material.FurnaceAndDispenser(int, byte)
          Magic value 
org.bukkit.material.FurnaceAndDispenser(Material, byte)
          Magic value 
org.bukkit.inventory.FurnaceRecipe(ItemStack, Material, int)
          Magic value 
org.bukkit.event.inventory.InventoryClickEvent(InventoryView, InventoryType.SlotType, int, boolean, boolean)
           
org.bukkit.inventory.ItemStack(int)
          Magic value 
org.bukkit.inventory.ItemStack(int, int)
          Magic value 
org.bukkit.inventory.ItemStack(int, int, short)
          Magic value 
org.bukkit.inventory.ItemStack(int, int, short, Byte)
          this method uses an ambiguous data byte object 
org.bukkit.inventory.ItemStack(Material, int, short, Byte)
          this method uses an ambiguous data byte object 
org.bukkit.plugin.java.JavaPlugin(PluginLoader, Server, PluginDescriptionFile, File, File)
          This method is intended for unit testing purposes when the other constructor cannot be used.

Its existence may be temporary. 

org.bukkit.plugin.java.JavaPluginLoader(Server)
           
org.bukkit.material.Ladder(int)
          Magic value 
org.bukkit.material.Ladder(int, byte)
          Magic value 
org.bukkit.material.Ladder(Material, byte)
          Magic value 
org.bukkit.material.Leaves(int)
          Magic value 
org.bukkit.material.Leaves(int, byte)
          Magic value 
org.bukkit.material.Leaves(Material, byte)
          Magic value 
org.bukkit.material.Lever(int)
          Magic value 
org.bukkit.material.Lever(int, byte)
          Magic value 
org.bukkit.material.Lever(Material, byte)
          Magic value 
org.bukkit.material.LongGrass(int)
          Magic value 
org.bukkit.material.LongGrass(int, byte)
          Magic value 
org.bukkit.material.LongGrass(Material, byte)
          Magic value 
org.bukkit.map.MapCursor(byte, byte, byte, byte, boolean)
          Magic value 
org.bukkit.material.MaterialData(int)
          Magic value 
org.bukkit.material.MaterialData(int, byte)
          Magic value 
org.bukkit.material.MaterialData(Material, byte)
          Magic value 
org.bukkit.material.MonsterEggs(int)
          Magic value 
org.bukkit.material.MonsterEggs(int, byte)
          Magic value 
org.bukkit.material.MonsterEggs(Material, byte)
          Magic value 
org.bukkit.material.Mushroom(int, byte)
          Magic value 
org.bukkit.material.Mushroom(Material, byte)
          Magic value 
org.bukkit.material.NetherWarts(int)
          Magic value 
org.bukkit.material.NetherWarts(int, byte)
          Magic value 
org.bukkit.material.NetherWarts(Material, byte)
          Magic value 
org.bukkit.material.PistonBaseMaterial(int)
          Magic value 
org.bukkit.material.PistonBaseMaterial(int, byte)
          Magic value 
org.bukkit.material.PistonBaseMaterial(Material, byte)
          Magic value 
org.bukkit.material.PistonExtensionMaterial(int)
          Magic value 
org.bukkit.material.PistonExtensionMaterial(int, byte)
          Magic value 
org.bukkit.material.PistonExtensionMaterial(Material, byte)
          Magic value 
org.bukkit.event.player.PlayerEggThrowEvent(Player, Egg, boolean, byte, CreatureType)
           
org.bukkit.event.player.PlayerFishEvent(Player, Entity, PlayerFishEvent.State)
          replaced by PlayerFishEvent.PlayerFishEvent(Player, Entity, Fish, State) to include the Fish hook entity. 
org.bukkit.event.player.PlayerLoginEvent(Player)
          Address should be provided in other constructor 
org.bukkit.event.player.PlayerLoginEvent(Player, PlayerLoginEvent.Result, String)
          Address and hostname should be provided in other constructor 
org.bukkit.event.player.PlayerLoginEvent(Player, String)
          Address should be provided in other constructor 
org.bukkit.event.player.PlayerPreLoginEvent(String, InetAddress)
           
org.bukkit.potion.Potion(PotionType, int, boolean)
          In favour of using Potion.Potion(PotionType) with Potion.splash(). 
org.bukkit.potion.Potion(PotionType, int, boolean, boolean)
          In favour of using Potion.Potion(PotionType) with Potion.extend() and possibly Potion.splash(). 
org.bukkit.potion.Potion(PotionType, Potion.Tier)
          In favour of Potion.Potion(PotionType, int) 
org.bukkit.potion.Potion(PotionType, Potion.Tier, boolean)
          In favour of Potion.Potion(PotionType, int, boolean) 
org.bukkit.potion.Potion(PotionType, Potion.Tier, boolean, boolean)
          In favour of Potion.Potion(PotionType, int, boolean, boolean) 
org.bukkit.material.PoweredRail(int)
          Magic value 
org.bukkit.material.PoweredRail(int, byte)
          Magic value 
org.bukkit.material.PoweredRail(Material, byte)
          Magic value 
org.bukkit.material.PressurePlate(int)
          Magic value 
org.bukkit.material.PressurePlate(int, byte)
          Magic value 
org.bukkit.material.PressurePlate(Material, byte)
          Magic value 
org.bukkit.material.Pumpkin(int)
          Magic value 
org.bukkit.material.Pumpkin(int, byte)
          Magic value 
org.bukkit.material.Pumpkin(Material, byte)
          Magic value 
org.bukkit.material.Rails(int)
          Magic value 
org.bukkit.material.Rails(int, byte)
          Magic value 
org.bukkit.material.Rails(Material, byte)
          Magic value 
org.bukkit.material.RedstoneTorch(int)
          Magic value 
org.bukkit.material.RedstoneTorch(int, byte)
          Magic value 
org.bukkit.material.RedstoneTorch(Material, byte)
          Magic value 
org.bukkit.material.RedstoneWire(int)
          Magic value 
org.bukkit.material.RedstoneWire(int, byte)
          Magic value 
org.bukkit.material.RedstoneWire(Material, byte)
          Magic value 
org.bukkit.material.Sandstone(int)
          Magic value 
org.bukkit.material.Sandstone(int, byte)
          Magic value 
org.bukkit.material.Sandstone(Material, byte)
          Magic value 
org.bukkit.material.Sign(int)
          Magic value 
org.bukkit.material.Sign(int, byte)
          Magic value 
org.bukkit.material.Sign(Material, byte)
          Magic value 
org.bukkit.material.SimpleAttachableMaterialData(int)
          Magic value 
org.bukkit.material.SimpleAttachableMaterialData(int, byte)
          Magic value 
org.bukkit.material.SimpleAttachableMaterialData(Material, byte)
          Magic value 
org.bukkit.material.Skull(int)
          Magic value 
org.bukkit.material.Skull(int, byte)
          Magic value 
org.bukkit.material.Skull(Material, byte)
          Magic value 
org.bukkit.material.SmoothBrick(int)
          Magic value 
org.bukkit.material.SmoothBrick(int, byte)
          Magic value 
org.bukkit.material.SmoothBrick(Material, byte)
          Magic value 
org.bukkit.material.SpawnEgg(byte)
          Magic value 
org.bukkit.material.SpawnEgg(int, byte)
          Magic value 
org.bukkit.material.Stairs(int)
          Magic value 
org.bukkit.material.Stairs(int, byte)
          Magic value 
org.bukkit.material.Stairs(Material, byte)
          Magic value 
org.bukkit.material.Step(int)
          Magic value 
org.bukkit.material.Step(int, byte)
          Magic value 
org.bukkit.material.Step(Material, byte)
          Magic value 
org.bukkit.material.TexturedMaterial(int)
          Magic value 
org.bukkit.material.TexturedMaterial(int, byte)
          Magic value 
org.bukkit.material.TexturedMaterial(Material, byte)
          Magic value 
org.bukkit.material.Torch(int)
          Magic value 
org.bukkit.material.Torch(int, byte)
          Magic value 
org.bukkit.material.Torch(Material, byte)
          Magic value 
org.bukkit.material.TrapDoor(int)
          Magic value 
org.bukkit.material.TrapDoor(int, byte)
          Magic value 
org.bukkit.material.TrapDoor(Material, byte)
          Magic value 
org.bukkit.material.Tree(int)
          Magic value 
org.bukkit.material.Tree(int, byte)
          Magic value 
org.bukkit.material.Tree(Material, byte)
          Magic value 
org.bukkit.material.Tripwire(int)
          Magic value 
org.bukkit.material.Tripwire(int, byte)
          Magic value 
org.bukkit.material.TripwireHook(int)
          Magic value 
org.bukkit.material.TripwireHook(int, byte)
          Magic value 
org.bukkit.event.vehicle.VehicleDamageEvent(Vehicle, Entity, int)
           
org.bukkit.material.Vine(byte)
          Magic value 
org.bukkit.material.Vine(int, byte)
          Magic value 
org.bukkit.material.WoodenStep(int)
          Magic value 
org.bukkit.material.WoodenStep(int, byte)
          Magic value 
org.bukkit.material.WoodenStep(Material, byte)
          Magic value 
org.bukkit.material.Wool(int)
          Magic value 
org.bukkit.material.Wool(int, byte)
          Magic value 
org.bukkit.material.Wool(Material, byte)
          Magic value 
 

Deprecated Enum Constants
org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.BED
          No longer used 
org.bukkit.Material.LOCKED_CHEST
           
 



Copyright © 2014. All rights reserved.