-
Deprecated InterfacesInterfaceDescriptionRemains for plugins that would have implemented it even without functionalitySee
FallingBlock
in favor ofFishHook
This class has been moved into a sub package;PoweredMinecart
should be used instead.This class has been moved into a sub package;StorageMinecart
should be used instead.Unsupported & internal use only
-
Deprecated ClassesClassDescriptionUse
HangingBreakByEntityEvent
instead.UseHangingBreakEvent
instead.UseHangingEvent
instead.UseHangingPlaceEvent
instead.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.UseInventoryClickEvent
orInventoryOpenEvent
instead, or one of the other inventory events inorg.bukkit.event.inventory
.This event causes synchronization from the login thread;AsyncPlayerPreLoginEvent
is preferred to keep the secondary threads asynchronous.
-
Deprecated EnumsEnumDescriptionUse EntityType instead.
-
Deprecated FieldsFieldDescriptiontemporary compatibility measuretemporary compatibility measuretemporary compatibility measureMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic value
-
Deprecated MethodsMethodDescriptionMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueIn favour of
CreatureSpawner.getSpawnedType()
.In favour ofCreatureSpawner.setSpawnedType(EntityType)
.Magic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valuesuperseded byBukkit.getOnlinePlayers()
Magic valuePersistent storage of users should be by UUID as names are no longer unique past a single session.UseBukkit.getPlayer(UUID)
as player names are no longer guaranteed to be uniqueUseBukkit.getPlayer(UUID)
as player names are no longer guaranteed to be uniqueUseBukkit.getPlayer(UUID)
as player names are no longer guaranteed to be uniquenon standard and unused feature.Magic valueMagic valueMagic valueMagic valueThis method is not supported and returns nullThis does not consider encodingdoes not properly consider encodingMagic valueMagic valueMagic valueMagic valueThe name is misleading. It would implyMaterial.INK_SACK
but usesMaterial.WOOL
Magic valueMagic valueThe name is misleading. It would implyMaterial.INK_SACK
but usesMaterial.WOOL
Magic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueuse launchProjectile(Arrow.class) insteaduse launchProjectile(Egg.class) insteaduse launchProjectile(Snowball.class) insteadMagic valueMagic valueInconsistent withEntity.isOnGround()
Magic valueMagic valueAPI subject to change.Magic valueMagic valueMagic valueAPI subject to changeMinecraft no longer uses textures packs. Instead you should usePlayer.setResourcePack(String)
.This method should not be relied upon as it is a temporary work-around for a larger, more complicated issue.Magic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueslime blocks make the value of this method inaccurate due to blocks being pushed at the sideIn favour ofEntityEvent.getEntityType()
.Magic valueIn favour ofBlockEvent.getBlock()
.In favour ofBlockEvent.getBlock()
.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.This method uses a deprecated enum fromPlayerPreLoginEvent
This method uses a deprecated enum fromPlayerPreLoginEvent
This method uses a deprecated enum fromPlayerPreLoginEvent
This method is provided for backward compatibility with no guarantee to the use of the format.This method is provided for backward compatibility with no guarantee to the effect of viewing or modifying the set.This method is provided for backward compatibility with no guarantee to the effect of modifying the format.In favour ofPlayerEggThrowEvent.getHatchingType()
.In favour ofPlayerEggThrowEvent.setHatchingType(EntityType)
.Magic valueMagic valueUses magic valuesUses magic valuesUses magic valuesUses magic valuesUses magic values.Uses magic values.Magic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueThis method should not be used; use hinge and facing accessors instead.Magic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueUseBanList.addBan(String, String, Date, String)
orBanList.pardon(String)
to enhance functionalityThis method is legacy and will be removed - it must be replaced by the specially provided constructor(s).This method cannot return false, asJavaPlugin
is now initialized in the constructor.unusedInternal useMagic valueMagic valueIn favour ofPotion.setLevel(int)
Magic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueThis name is misleading, as it does not schedule "a sync" task, but rather, "an async" taskThis name is misleading, as it does not schedule "a sync" task, but rather, "an async" taskThis name is misleading, as it does not schedule "a sync" task, but rather, "an async" taskScoreboards can contain entries that aren't playersScoreboards can contain entries that aren't playersScoreboards can contain entries that aren't playersScoreboards can contain entries that aren't playersScoreboards can contain entries that aren't playersScoreboards can contain entries that aren't playersTeams can contain entries that aren't playersTeams can contain entries that aren't playersTeams can contain entries that aren't playersTeams can contain entries that aren't playerssuperseded byServer.getOnlinePlayers()
Magic valuePersistent storage of users should be by UUID as names are no longer unique past a single session.UseServer.getPlayer(UUID)
as player names are no longer guaranteed to be uniqueUseServer.getPlayer(UUID)
as player names are no longer guaranteed to be uniqueUseServer.getPlayer(UUID)
as player names are no longer guaranteed to be uniquenon standard and unused feature.Magic valueMagic valueMagic valueMagic valueMagic valueMagic valueThis method is not guaranteed to work suitably across all client implementations.Has issues spawning non LivingEntities. UsespawnEntity
instead.Magic valueMagic value
-
Deprecated ConstructorsConstructorDescriptionMagic valueMagic valueMagic valueProvided as a backward compatibility before the data byte was provided, and type increased to all entitiesreplaced by
PlayerFishEvent(Player, Entity, Fish, State)
to include theFish
hook entity.Address should be provided in other constructorAddress should be provided in other constructorAddress and hostname should be provided in other constructorMagic valueMagic valueMagic valueMagic valuethis method uses an ambiguous data byte objectthis method uses an ambiguous data byte objectMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueArtifact of old API, equivalent to newDoor(Material.WOODEN_DOOR);
Magic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueThis method is intended for unit testing purposes when the other constructor cannot be used.Its existence may be temporary.
In favour of usingPotion(PotionType)
withPotion.splash()
.In favour ofPotion(PotionType, int)
In favour ofPotion(PotionType, int, boolean)
In favour ofPotion(PotionType, int, boolean, boolean)
-
Deprecated Enum Constants
InventoryHolder