Deprecated API
Contents
- Terminally Deprecated
- Interfaces
- Classes
- Enum Classes
- Exception Classes
- Annotation Interfaces
- Fields
- Methods
- Constructors
-
ElementDescriptionUse the version that takes a
ParserContext
,InputParser.getSuggestions(String, ParserContext)
useBlockVector2.x()
insteaduseBlockVector2.z()
insteaduseBlockVector2.x()
insteaduseBlockVector2.z()
insteaduseBlockVector3.x()
insteaduseBlockVector3.y()
insteaduseBlockVector3.z()
insteaduseBlockVector3.x()
insteaduseBlockVector3.y()
insteaduseBlockVector3.z()
insteaduseVector2.x()
insteaduseVector2.z()
insteaduseVector3.x()
insteaduseVector3.y()
insteaduseVector3.z()
insteadUseKeyed.id()
instead.This class is now a record. UseLocatedBlock.block()
instead.This class is now a record. UseLocatedBlock.location()
instead.UseItemMaterial.maxDamage()
instead.UseItemMaterial.maxStackSize()
instead.
-
InterfaceDescriptionThis no longer returns useful information.
-
ClassDescriptionUse
LinByteArrayTag
.UseLinByteTag
.UseLinCompoundTag
.UseLinCompoundTag.Builder
.UseLinDoubleTag
.UseLinEndTag
.UseLinFloatTag
.UseLinIntArrayTag
.UseLinIntTag
.JNBT is being removed in WE8.UseLinListTag
.UseLinListTag.Builder
.UseLinLongArrayTag
.UseLinLongTag
.JNBT is being removed for lin-bus in WorldEdit 8.JNBT is being removed for lin-bus in WorldEdit 8.JNBT is being removed for lin-bus in WorldEdit 8, useLinBinaryIO
insteadJNBT is being removed for lin-bus in WorldEdit 8, useLinBinaryIO
insteadJNBT is being removed for lin-bus in WorldEdit 8.UseLinShortTag
.UseLinStringTag
.JNBT is being removed for lin-bus in WorldEdit 8, useLinTag
insteadWorldEdit does not handle interpreting NBT, deprecated for removal without replacementWorldEdit does not handle interpreting NBT, deprecated for removal without replacementWorldEdit does not handle interpreting NBT, deprecated for removal without replacementUsing the ever-extending factory methods is deprecated. Replace withEditSessionBuilder
, which in most cases will be as simple as callingbuilder.world(world).build()
.These utility methods are provided byLinCompoundTag
now.UseSideEffectExtent
withSideEffectExtent.setPostEditSimulationEnabled(boolean)
instead.Handled by the world entirely nowUseApplyRegion
orApplyLayer
depending on function type.useBiomeMask
as biomes are now 3D.all BlockStateHolders can be used directly as a patternuseBiomeChange3D
Only method is being deprecated for removal.
-
Exception ClassDescription
-
MethodDescriptionNew subclasses should override
BlockTool.actPrimary(Platform, LocalConfiguration, Player, LocalSession, Location, Direction)
insteadNew subclasses must overrideDoubleActionBlockTool.actSecondary(Platform, LocalConfiguration, Player, LocalSession, Location, Direction)
insteadUseEditSession.disableBuffering()
instead.There is no specific replacement, instead enable what you want specifically.Replace withEditSession.close()
for proper cleanup behavior.UseEditSession.isBufferingEnabled()
instead.Use Locatable#getBlockLocationThis method may fail without indication. UsePlayer.trySetPosition(Vector3, float, float)
insteadUse component-based functions (printInfo)Use component-based functions (printDebug)Use component-based functions (printError)Use component-based functions (print)This method may fail without indication. UseLocatable.trySetPosition(Vector3)
insteadCallPlatform.setGameHooksEnabled(boolean)
withtrue
insteadNew subclasses should overrideAbstractBufferingExtent.getBufferedFullBlock(BlockVector3)
insteadthis was never used, just return the same tag fromEntityNBTCompatibilityHandler.updateNbt(EntityType, LinCompoundTag)
if it's not affectedthis is handled byNBTCompatibilityHandler.updateNbt(BaseBlock)
nowBiomes in Minecraft are 3D now, useInputExtent.getBiome(BlockVector3)
Biomes in Minecraft are 3D now, useOutputExtent.setBiome(BlockVector3, BiomeType)
Will be removed in WorldEdit 8.0 - use the Component variantUse the version that takes aParserContext
,InputParser.getSuggestions(String, ParserContext)
UseLocalSession.getBrush(ItemType)
orLocalSession.forceBrush(ItemType, Brush, String)
if you need to bind a specific brushThe wand is now a tool that can be bound/unbound.The wand is now a tool that can be bound/unbound.useBlockVector2.x()
insteaduseBlockVector2.z()
insteaduseBlockVector2.x()
insteaduseBlockVector2.z()
insteaduseBlockVector3.x()
insteaduseBlockVector3.y()
insteaduseBlockVector3.z()
insteaduseBlockVector3.x()
insteaduseBlockVector3.y()
insteaduseBlockVector3.z()
insteaduseVector2.x()
insteaduseVector2.z()
insteaduseVector3.x()
insteaduseVector3.y()
insteaduseVector3.z()
insteaduseRegion.getVolume()
to prevent overflowsThe load system will be removed in a future WorldEdit release. The registries should be populated by the platforms via the supplier constructor.UseKeyed.id()
instead.This class is now a record. UseLocatedBlock.block()
instead.This class is now a record. UseLocatedBlock.location()
instead.Use the Component-based versionThis method does not work on the server. UseBiomeRegistry.getRichName(BiomeType)
.com.sk89q.worldedit.world.biome.Biomes.findBiomeByName(Collection<BiomeType>, String, BiomeRegistry) This uses the outdated name system. Find names by comparing with their ID instead.The name is now translatable, useBlockType.getRichName()
.Names are translatable now, useItemType.getRichName()
.This method no longer returns any useful information. UseBiomeRegistry.getRichName(BiomeType)
for the name of the biome.Names are now translatable, useBlockRegistry.getRichName(BlockType)
.UseItemMaterial.maxDamage()
instead.UseItemMaterial.maxStackSize()
instead.Names are now translatable, useItemRegistry.getRichName(ItemType)
.No replacement, just load the tag yourselfUseWorldEdit.newEditSessionBuilder()
instead. SeeEditSessionFactory
for details.UseWorldEdit.getWorkingDirectoryPath(String)
instead
-
ConstructorDescriptionUse component versionUse component version