Deprecated API
Contents
- Terminally Deprecated
- Interfaces
- Classes
- Enum Classes
- Annotation Interfaces
- Fields
- Methods
- Constructors
- Enum Constants
-
ElementDescriptionattributes are now identified by keysmagic value, use
Registry.get(NamespacedKey)
insteadmagic valuemethod is for internal use only and will be removeduseInventoryView
and its children.duration is now a floatuseInventoryView
and its childrenmeta no longer existsmeta no longer existsmeta no longer existsUpgraded / extended potions are now their ownPotionType
use them instead.removed in Minecraft 1.20.5. Do not use. Will be removed at a later date. Until then, this constant now acts as a reference toTag.ITEMS_BREAKS_DECORATED_POTS
which largely shares the same contents of the old "minecraft:tools" tag.
-
InterfaceDescriptiondoes not provide useful information beyond the material itselflingering status depends on only on the potion item.splash status depends on only on the potion item.tipped status depends only on base potion type not being UNCRAFTABLE and effects being empty.Biomes are now set with
BiomeProvider
this API part has been replaced by thePersistentDataHolder
API. Please usePersistentDataHolder
instead of this.this API part has been replaced byPersistentDataHolder
. Please usePersistentDataAdapterContext
instead of this.please usePersistentDataType
as this part of the api is being replacedDo not use, interface will get removed, and the plugin won't runUseConsumer
insteadonly for backwards compatibility.
-
ClassDescriptiononly for backwards compatibility, EnchantmentWrapper is no longer used.chat previews have been removedUse the more generic
PlayerBucketEntityEvent
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.This event is no longer fired due to client changesThis event causes synchronization from the login thread;AsyncPlayerPreLoginEvent
is preferred to keep the secondary threads asynchronous.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.useSpawnEggMeta
all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.Upgraded / extended potions are now their ownPotionType
use them instead.only for backwards compatibility, PotionEffectTypeWrapper is no longer used.use the constants declared inCriteria
insteadThis class does not represent the structures of a world well. UseStructure
orStructureType
instead.
-
Enum ClassDescriptiondifferent boats types are now different entity typesfuture versions of Minecraft have additional spell casting entities.different variants are differing classesCats are now a separate entity.classes are different types. This interface only remains in the Skeleton interface to preserve backwards compatibility.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 this thread for more information.use
InventoryView
and its childrenreplaced byTeam.OptionStatus
checkMaterial
insteadDeprecated, see usage methods for replacement(s)
-
Annotation InterfaceDescriptionThis should generally not be used in any new API code as it suggests a bad API design.
-
FieldDescriptionBiome is no longer an enum, custom biomes will have their own biome instance.unused, not intended to be APIunused, not intended to be APInot available since 1.21.2not available since 1.20not available since 1.21not available since 1.21.4Magic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueUse
PersistentDataType.LIST
'sListPersistentDataTypeProvider.dataContainers()
instead asListPersistentDataType
s offer full support for primitive types, such as thePersistentDataContainer
.removed in Minecraft 1.20.5. Do not use. Will be removed at a later date. Until then, this constant now acts as a reference toTag.ITEMS_BREAKS_DECORATED_POTS
which largely shares the same contents of the old "minecraft:tools" tag.
-
MethodDescriptionMagic valueonly for backwards compatibility, use
Registry.get(NamespacedKey)
instead.Magic valueonly for backwards compatibility, useRegistry.get(NamespacedKey)
instead.useIterable.iterator()
.only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.useIterable.iterator()
.attributes are now identified by keysThis return a generic class, prefer useBanList.getEntries()
magic value, useRegistry.get(NamespacedKey)
insteadmagic valueonly for backwards compatibility, useRegistry.get(NamespacedKey)
instead.useIterable.iterator()
.only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.useIterable.iterator()
.Magic valueMagic valueMagic valueonly for internal usemagic value, useBaseSpawner.getSpawnedType()
.magic value, useBaseSpawner.setSpawnedType(org.bukkit.entity.EntityType)
.in favor ofDecoratedPot.getSherds()
locks are not necessarily pure stringslocks are not necessarily pure stringsMagic valueMagic valueA sign may have multiple writable sides now. UseSign.getSide(Side)
andColorable.getColor()
.A sign may have multiple writable sides now. UseSign.getSide(Side)
andSignSide.getLine(int)
.A sign may have multiple writable sides now. UseSign.getSide(Side)
andSignSide.getLines()
.useSign.isWaxed()
insteadA sign may have multiple writable sides now. UseSign.getSide(Side)
andSignSide.isGlowingText()
.A sign may have multiple writable sides now. UseSign.getSide(Side)
andColorable.setColor(org.bukkit.DyeColor)
.useSign.setWaxed(boolean)
insteadA sign may have multiple writable sides now. UseSign.getSide(Side)
andSignSide.setGlowingText(boolean)
.A sign may have multiple writable sides now. UseSign.getSide(Side)
andSignSide.setLine(int, String)
.useBlockData
checkMaterial
insteaduseBlockData
checkMaterial
insteadThe title parameter is no-longer needed when used withMenuType.MERCHANT
andMenuType.Typed.builder()
.Deprecated in favor ofBukkit.getSpawnLimit(SpawnCategory)
Deprecated in favor ofBukkit.getSpawnLimit(SpawnCategory)
Magic valueDeprecated in favor ofBukkit.getSpawnLimit(SpawnCategory)
Persistent storage of users should be by UUID as names are no longer unique past a single session.Deprecated in favor ofBukkit.getTicksPerSpawns(SpawnCategory)
Deprecated in favor ofBukkit.getTicksPerSpawns(SpawnCategory)
Deprecated in favor ofBukkit.getTicksPerSpawns(SpawnCategory)
Deprecated in favor ofBukkit.getTicksPerSpawns(SpawnCategory)
Deprecated in favor ofBukkit.getTicksPerSpawns(SpawnCategory)
Deprecated in favor ofBukkit.getTicksPerSpawns(SpawnCategory)
Deprecated in favor ofBukkit.getSpawnLimit(SpawnCategory)
Deprecated in favor ofBukkit.getSpawnLimit(SpawnCategory)
Deprecated in favor ofBukkit.getSpawnLimit(SpawnCategory)
chat previews have been removedbiomes are now 3-dimensionalMagic valuebiomes are now 3-dimensionalMagic valueMagic valuepermission messages have not worked for player-executed commands since 1.13 as clients without permission to execute a command are unaware of its existence and therefore will not send an unknown command execution to the server. This message will only ever be shown to consoles or when this command is executed withBukkit.dispatchCommand(CommandSender, String)
.permission messages have not worked for player-executed commands since 1.13 as clients without permission to execute a command are unaware of its existence and therefore will not send an unknown command execution to the server. This message will only ever be shown to consoles or when this command is executed withBukkit.dispatchCommand(CommandSender, String)
.This method only exists for backwards compatibility. It will do nothing and should not be used! Please useFileConfigurationOptions.getHeader()
instead.CallFileConfigurationOptions.parseComments()
instead.CallFileConfigurationOptions.parseComments(boolean)
instead.use getHeader() instead.use setHeader() insteadMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valuelegacy use onlyMagic valueMagic valueonly for backwards compatibility, useRegistry.get(NamespacedKey)
insteadenchantments are badly named, useEnchantment.getByKey(org.bukkit.NamespacedKey)
.enchantment groupings are now managed by tags, not categoriesenchantments are badly named, useKeyed.getKey()
.cursed enchantments are no longer special. Will return true only forEnchantment.BINDING_CURSE
andEnchantment.VANISHING_CURSE
.enchantment types are now managed by tagsa function of the firing weapona function of the firing weapona function of the firing weapon insteaddifferent variants are different classesyou are required to spawn a different entityshould check what class instance this is.Must spawn a new subtype variantUpgraded / extended potions are now their ownPotionType
useAreaEffectCloud.getBasePotionType()
instead.Upgraded / extended potions are now their ownPotionType
useAreaEffectCloud.setBasePotionType(org.bukkit.potion.PotionType)
instead.preferEntityEquipment.getBoots()
preferEntityEquipment.getHelmet()
Upgraded / extended potions are now their ownPotionType
useArrow.getBasePotionType()
instead.Upgraded / extended potions are now their ownPotionType
useArrow.setBasePotionType(org.bukkit.potion.PotionType)
instead.different boats types are now different entity typesboats are complex and many of these methods do not work correctly across multiple versions.boats are complex and many of these methods do not work correctly across multiple versions.boats are complex and many of these methods do not work correctly across multiple versions.deprecated in favor ofBoat.getBoatType()
boats are complex and many of these methods do not work correctly across multiple versions.different boats types are now different entity typesboats are complex and many of these methods do not work correctly across multiple versions.boats are complex and many of these methods do not work correctly across multiple versions.boats are complex and many of these methods do not work correctly across multiple versions.deprecated in favor ofBoat.setBoatType(Type)
boats are complex and many of these methods do not work correctly across multiple versions.only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.useIterable.iterator()
.useAttribute.MAX_HEALTH
.useAttribute.MAX_HEALTH
.useAttribute.MAX_HEALTH
.this functionality no longer existsthis functionality no longer existsentities may have multiple passengers, useEntity.getPassengers()
method is for internal use only and will be removedentities may have multiple passengers, useEntity.addPassenger(org.bukkit.entity.Entity)
Magic valueMagic valueMagic valueMagic valuefuture versions of Minecraft have additional spell casting entities.future versions of Minecraft have additional spell casting entities.badly named method, returns the value ofFireball.getAcceleration()
has no effect in newer Minecraft versionshas no effect in newer Minecraft versionsonly for backwards compatibility, useRegistry.get(NamespacedKey)
instead.useIterable.iterator()
.should check if instance ofElderGuardian
.Must spawn a newElderGuardian
.seeChestedHorse
seeChestedHorse
Humans may now dual wield in their off hand, use explicit methods inPlayerInventory
.There are currently no well defined semantics regarding serialized entities in Bukkit. Use with care.There are currently no well defined semantics regarding serialized entities in Bukkit. Use with care.This method should be replaced byMenuType.ENCHANTMENT
seeMenuType.Typed.builder()
and its options for more information.This method can be replaced by usingMenuType.MERCHANT
in conjunction withHumanEntity.openInventory(InventoryView)
.This method can be replaced by usingMenuType.MERCHANT
in conjunction withHumanEntity.openInventory(InventoryView)
.This method should be replaced byMenuType.CRAFTING
seeMenuType.Typed.builder()
and its options for more information.Humans may now dual wield in their off hand, use explicit methods inPlayerInventory
.There are currently no well defined semantics regarding serialized entities in Bukkit. Use with care.There are currently no well defined semantics regarding serialized entities in Bukkit. Use with care.useInventoryView
and its children.sound is now client side and cannot be removedno need to force since multiple effects of the same type are now supported.entity groupings are now managed by tags, not categoriesCats are now a separate entity.Cats are now a separate entity.Magic valueMagic valueseeAgeable.setBaby()
andAgeable.setAdult()
Misleading name. This method also returns the location of respawn anchors.This value is controlled only by the client and is therefore unreliable and vulnerable to spoofing and/or desync depending on the context/time which it is accessedMagic valueMagic valueMagic valuesuppressLightUpdates is not functional in versions greater than 1.19.4API behavior subject to changeMisleading name. This method sets the player's respawn location more generally and is not limited to beds.Misleading name. This method sets the player's respawn location more generally and is not limited to beds.Minecraft no longer uses textures packs. Instead you should usePlayer.setResourcePack(String)
.does not do anythingdoes not do anythingonly for backwards compatibility, useRegistry.get(NamespacedKey)
instead.useIterable.iterator()
.only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.useIterable.iterator()
.seeAgeable.setBaby()
andAgeable.setAdult()
check if instanceofZombieVillager
.seeAgeable.setBaby()
andAgeable.setAdult()
must spawnZombieVillager
.Magic valueslime blocks make the value of this method inaccurate due to blocks being pushed at the sidenot all cauldron contents are Levellednot all cauldron contents are Levellednot all cauldron contents are Levelledno effect on newer Minecraft versionsno effect on newer Minecraft versionsUsePrepareItemEnchantEvent.getOffers()
instead of this methodduration is now a floatnot currently functionalhorse jumping was moved client side.horse jumping was moved client side.MC 1.14 has changed how villagers restock their trades. UseMerchantRecipe.getUses()
.MC 1.14 has changed how villagers restock their trades. This has no effect anymore.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 effect of viewing or modifying the set.books may be signed from off handThis event has two possible cancellation states, one forPlayerInteractEvent.useInteractedBlock()
and one forPlayerInteractEvent.useItemInHand()
. It is possible a call might have the former false, but the latter true, eg in the case of using a firework whilst gliding. Callers should check the relevant methods individually.chat previews have been removedonly for backwards compatibility, useRegistry.get(NamespacedKey)
instead.useIterable.iterator()
.UseRegistry.get(NamespacedKey)
instead.useIterable.iterator()
.Magic valueMagic valuebiomes are now 3-dimensionalbiomes are now 3-dimensionalUses magic valuesChunkGenerator.ChunkData
are now directly providedThe generation is now split up and the new methods should be used, seeChunkGenerator
the chunk generation code should be thread safehas no effect, bedrock generation is part of the surface step, seeChunkGenerator.shouldGenerateSurface()
Magic valueMagic valueMagic valueMagic valueentities can duel wield now use the methods for the specific hand insteadentities can duel wield now use the methods for the specific hand insteadentities can duel wield now use the methods for the specific hand insteadentities can duel wield now use the methods for the specific hand insteadfor internal compatibility use onlyMagic valueMagic valuedurability is now part of ItemMeta. To avoid confusion and misuse,ItemStack.getItemMeta()
,ItemStack.setItemMeta(ItemMeta)
andDamageable.setDamage(int)
should be used instead. This is because any call to this method will be overwritten by subsequent setting of ItemMeta which was created before this call.only for internal usecreative categories no longer exist on the serverthis API part has been replaced by thePersistentDataHolder
API. Please usePersistentDataHolder.getPersistentDataContainer()
instead of this.meta no longer existsmeta no longer existsmeta no longer existsThis method does not have the expected effect and is actually an alias forItemMeta.getLocalizedName()
.These methods are poor API: They rely on the caller to pass in an only an integer property, and have poorly defined implementation behavior if that integer is not a valid map (the current implementation for example will generate a new map with a different ID). The xxxMapView family of methods should be used instead.This method does not have the expected effect and is actually an alias forItemMeta.hasLocalizedName()
.These methods are poor API: They rely on the caller to pass in an only an integer property, and have poorly defined implementation behavior if that integer is not a valid map (the current implementation for example will generate a new map with a different ID). The xxxMapView family of methods should be used instead.This method does not have the expected effect and is actually an alias forItemMeta.setLocalizedName(String)
.These methods are poor API: They rely on the caller to pass in an only an integer property, and have poorly defined implementation behavior if that integer is not a valid map (the current implementation for example will generate a new map with a different ID). The xxxMapView family of methods should be used instead.Upgraded / extended potions are now their ownPotionType
usePotionMeta.getBasePotionType()
instead.Upgraded / extended potions are now their ownPotionType
usePotionMeta.setBasePotionType(org.bukkit.potion.PotionType)
instead.different types are different itemsdifferent types are different itemsplayers can duel wield now use the methods for the specific hand insteadplayers can duel wield now use the methods for the specific hand insteadfor compatibility onlyMagic valueMagic valueMagic valueMagic valueMagic valueno longer functionalno longer functionalMagic value, useMapCanvas.getBasePixelColor(int, int)
Magic value, useMapCanvas.getPixelColor(int, int)
Magic value, useMapCanvas.setPixelColor(int, int, Color)
Magic valueMagic valueMagic valueMagic valueonly for backwards compatibility, useRegistry.get(NamespacedKey)
instead.useIterable.iterator()
.Magic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueThis method should not be used; use hinge and facing accessors instead.Magic valueMagic valueMagic valuecurrently does not have an implementation which is well linked to the underlying server. Contributions welcome.Magic valueMagic valuethis method creates an ItemStack of size 0 which is not generally useful. ConsiderMaterialData.toItemStack(int)
.Use MushroomBlockType cap optionsMagic valueThis is now stored inSpawnEggMeta
.This is now stored inSpawnEggMeta
.Magic valueMagic valueMagic valueMagic valueMagic valueMagic valueUseRegistry.get(NamespacedKey)
instead.useIterable.iterator()
.should never be used by plugins, for internal use only!!Magic valueMagic valueMagic valueMagic valueMagic valueMisleading name. This method also returns the location of respawn anchors.not an API methodnot an API methodunusedUpgraded / extended potions are now their ownPotionType
usePotionType.getPotionEffects()
insteadNon-Functionalcolor is not part of potion effectsMagic valueonly for backwards compatibility, useRegistry.get(NamespacedKey)
instead.only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.unused, always 1.0Magic valueonly for backwards compatibility, useKeyed.getKey()
instead.useIterable.iterator()
.MisleadingPotions can have multiple effects usePotionType.getPotionEffects()
PotionType can have multiple effects, some of which can be instant and others not. UsePotionEffectType.isInstant()
in combination withPotionType.getPotionEffects()
andPotionEffect.getType()
Magic 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 playersa displayName should be explicitly specifiedScoreboards 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 playersThe title parameter is no-longer needed when used withMenuType.MERCHANT
andMenuType.Typed.builder()
.Deprecated in favor ofServer.getSpawnLimit(SpawnCategory)
Deprecated in favor ofServer.getSpawnLimit(SpawnCategory)
Magic valueDeprecated in favor ofServer.getSpawnLimit(SpawnCategory)
Persistent storage of users should be by UUID as names are no longer unique past a single session.Deprecated in favor ofServer.getTicksPerSpawns(SpawnCategory)
Deprecated in favor ofServer.getTicksPerSpawns(SpawnCategory)
Deprecated in favor ofServer.getTicksPerSpawns(SpawnCategory)
Deprecated in favor ofServer.getTicksPerSpawns(SpawnCategory)
Deprecated in favor ofServer.getTicksPerSpawns(SpawnCategory)
Deprecated in favor ofServer.getTicksPerSpawns(SpawnCategory)
Deprecated in favor ofServer.getSpawnLimit(SpawnCategory)
Deprecated in favor ofServer.getSpawnLimit(SpawnCategory)
Deprecated in favor ofServer.getSpawnLimit(SpawnCategory)
chat previews have been removedonly for backwards compatibility, useRegistry.get(NamespacedKey)
instead.useIterable.iterator()
.Magic valueMagic valueonly for backwards compatibility, old enums can not be compared.only for backwards compatibility.only for backwards compatibility, it is not guaranteed that an old enum always has the same ordinal.Magic valueMagic valuethis method does not handle tile entities (bee nests)Deprecated in favor ofWorld.getSpawnLimit(SpawnCategory)
Deprecated in favor ofWorld.getSpawnLimit(SpawnCategory)
biomes are now 3-dimensionaluseWorld.getGameRuleValue(GameRule)
insteadbiomes are now 3-dimensionaluseGameRule.SPAWN_CHUNK_RADIUS
for finer controlDeprecated in favor ofWorld.getSpawnLimit(SpawnCategory)
biomes are now 3-dimensionalDeprecated in favor ofWorld.getTicksPerSpawns(SpawnCategory)
Deprecated in favor ofWorld.getTicksPerSpawns(SpawnCategory)
Deprecated in favor ofWorld.getTicksPerSpawns(SpawnCategory)
Deprecated in favor ofWorld.getTicksPerSpawns(SpawnCategory)
Deprecated in favor ofWorld.getTicksPerSpawns(SpawnCategory)
Deprecated in favor ofWorld.getTicksPerSpawns(SpawnCategory)
Deprecated in favor ofWorld.getSpawnLimit(SpawnCategory)
Deprecated in favor ofWorld.getSpawnLimit(SpawnCategory)
Deprecated in favor ofWorld.getSpawnLimit(SpawnCategory)
world type is only used to select the default word generation settings and is not stored in Vanilla worlds, making it impossible for this method to always return the correct value.This method was added to facilitate chunk garbage collection. As of the current Minecraft version chunks are now strictly managed and will not be loaded for more than 1 tick unless they are in use.This method is not guaranteed to work suitably across all client implementations.regenerating a single chunk is not likely to produce the same chunk as before as terrain decoration may be spread across chunks. Use of this method should be avoided as it is known to produce buggy results.Deprecated in favor ofWorld.setSpawnLimit(SpawnCategory, int)
Deprecated in favor ofWorld.getSpawnLimit(SpawnCategory)
biomes are now 3-dimensionaluseWorld.setGameRule(GameRule, Object)
instead.useGameRule.SPAWN_CHUNK_RADIUS
for finer controlDeprecated in favor ofWorld.setSpawnLimit(SpawnCategory, int)
Deprecated in favor ofWorld.setTicksPerSpawns(SpawnCategory, int)
Deprecated in favor ofWorld.setTicksPerSpawns(SpawnCategory, int)
Deprecated in favor ofWorld.setTicksPerSpawns(SpawnCategory, int)
Deprecated in favor ofWorld.setTicksPerSpawns(SpawnCategory, int)
Deprecated in favor ofWorld.setTicksPerSpawns(SpawnCategory, int)
Deprecated in favor ofWorld.setTicksPerSpawns(SpawnCategory, int)
Deprecated in favor ofWorld.setSpawnLimit(SpawnCategory, int)
Deprecated in favor ofWorld.setSpawnLimit(SpawnCategory, int)
Deprecated in favor ofWorld.setSpawnLimit(SpawnCategory, int)
Magic valuesound is now client side and cannot be removedsound is now client side and cannot be removed
-
ConstructorDescriptionoptions requiredoptions requiredorg.bukkit.event.player.PlayerBucketEmptyEvent
(Player, Block, Block, BlockFace, Material, ItemStack) this method uses an ambiguous data byte objectRecipes must have keys. UseShapedRecipe(NamespacedKey, ItemStack)
instead.as of Minecraft 1.20, smithing recipes are now separated into two distinct recipe types,SmithingTransformRecipe
andSmithingTrimRecipe
. This class now acts as a base class to these two classes and will do nothing when added to the server.Magic valueMagic value, useMapCursor(byte, byte, byte, Type, boolean, String)
Magic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueMagic valueArtifact of old API, equivalent to newDoor(Material.LEGACY_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 value
-
Enum ConstantDescriptiondeprecated in favor of
BanList.Type.PROFILE
no longer existsno longer existsno longer existsno longer existsno longer existsno longer existsno longer existsno longer existsno longer existsno longer existsthis target no longer exists in Vanillasplit into individual effectssplit into individual effectsno longer called, chunks are generated with entities already existing. Consider usingChunkLoadEvent
,ChunkLoadEvent.isNewChunk()
andChunk.getEntities()
for similar effect.all plugins are now assumed to be UTF-8 aware.