Deprecated API
Contents
-
Interfaces Interface Description org.bukkit.block.Bed does not provide useful information beyond the material itselforg.bukkit.entity.LingeringPotion lingering status depends on only on the potion item.org.bukkit.entity.SplashPotion splash status depends on only on the potion item.org.bukkit.entity.TippedArrow tipped status depends only on base potion type not being UNCRAFTABLE and effects being empty.org.bukkit.inventory.meta.tags.CustomItemTagContainer this API part has been replaced by thePersistentDataHolder
API. Please usePersistentDataHolder
instead of this.org.bukkit.inventory.meta.tags.ItemTagAdapterContext this API part has been replaced byPersistentDataHolder
. Please usePersistentDataAdapterContext
instead of this.org.bukkit.inventory.meta.tags.ItemTagType please usePersistentDataType
as this part of the api is being replacedorg.bukkit.UnsafeValues
-
Classes Class Description org.bukkit.event.entity.EntityCreatePortalEvent org.bukkit.event.entity.EntityPlaceEvent draft APIorg.bukkit.event.player.PlayerChatEvent This event will fire from the main thread and allows the use of all of the Bukkit API, unlike theAsyncPlayerChatEvent
.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.PlayerChatTabCompleteEvent This event is no longer fired due to client changesorg.bukkit.event.player.PlayerPickupItemEvent org.bukkit.event.player.PlayerPreLoginEvent This event causes synchronization from the login thread;AsyncPlayerPreLoginEvent
is preferred to keep the secondary threads asynchronous.org.bukkit.inventory.RecipeChoice.ExactChoice draft APIorg.bukkit.material.Banner all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Bed all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Button all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Cake all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Cauldron all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Chest all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Coal all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.CocoaPlant all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Command all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Comparator all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Crops all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.DetectorRail all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Diode all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.DirectionalContainer all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Dispenser all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Door all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Dye all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.EnderChest all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.ExtendedRails all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.FlowerPot all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Furnace all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.FurnaceAndDispenser all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Gate all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Hopper all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Ladder all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Leaves all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Lever all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.LongGrass all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.MaterialData all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.MonsterEggs all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Mushroom all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.NetherWarts all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Observer all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.PistonBaseMaterial all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.PistonExtensionMaterial all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.PoweredRail all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.PressurePlate all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Pumpkin all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Rails all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.RedstoneTorch all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.RedstoneWire all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Sandstone all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Sapling all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Sign all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.SimpleAttachableMaterialData all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Skull all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.SmoothBrick all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.SpawnEgg useSpawnEggMeta
org.bukkit.material.Stairs all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Step all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.TexturedMaterial all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Torch all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.TrapDoor all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Tree all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Tripwire all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.TripwireHook all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Vine all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Wood all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.WoodenStep all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.material.Wool all usage of MaterialData is deprecated and subject to removal. UseBlockData
.org.bukkit.potion.Potion
-
Enums Enum Description org.bukkit.block.data.type.Switch.Face org.bukkit.entity.Evoker.Spell future versions of Minecraft have additional spell casting entities.org.bukkit.entity.Horse.Variant different variants are differing classesorg.bukkit.entity.Ocelot.Type Cats are now a separate entity.org.bukkit.entity.Skeleton.SkeletonType org.bukkit.event.entity.EntityDamageEvent.DamageModifier This API is responsible for a large number of implementation problems and is in general unsustainable to maintain. It is likely to be removed very soon in a subsequent release. Please see https://www.spigotmc.org/threads/194446/ for more information.org.bukkit.scoreboard.NameTagVisibility replaced byTeam.OptionStatus
org.bukkit.SkullType checkMaterial
instead
-
Annotation Types Annotation Type Description org.bukkit.UndefinedNullability This should generally not be used in any new API code as it suggests a bad API design.
-
Fields Field Description org.bukkit.map.MapPalette.BLUE Magic valueorg.bukkit.map.MapPalette.BROWN Magic valueorg.bukkit.map.MapPalette.DARK_BROWN Magic valueorg.bukkit.map.MapPalette.DARK_GRAY Magic valueorg.bukkit.map.MapPalette.DARK_GREEN Magic valueorg.bukkit.map.MapPalette.GRAY_1 Magic valueorg.bukkit.map.MapPalette.GRAY_2 Magic valueorg.bukkit.map.MapPalette.LIGHT_BROWN Magic valueorg.bukkit.map.MapPalette.LIGHT_GRAY Magic valueorg.bukkit.map.MapPalette.LIGHT_GREEN Magic valueorg.bukkit.map.MapPalette.PALE_BLUE Magic valueorg.bukkit.map.MapPalette.RED Magic valueorg.bukkit.map.MapPalette.TRANSPARENT Magic valueorg.bukkit.map.MapPalette.WHITE Magic valueorg.bukkit.Material.LEGACY_PREFIX