Deprecated API
Contents
-
ElementDescriptionUse
DBHandler.dbHandler()
instead.UseDiskOptimizedClipboard(Region, UUID)
orDiskOptimizedClipboard(BlockVector3, File)
to avoid creating a large number of clipboard files that won't be cleaned until `clipboard.delete-after-days` and a server restart.Unused internallyuseFawe.instance()
useFawe.platform()
UseFaweCache.INSTANCE
to get an instance.UseTaskManager.taskManager()
to get an instance.UseWEManager.weManager()
instead.JNBT is being removed in WE8.JNBT is being removed for adventure-nbt in WorldEdit 8.JNBT is being removed for adventure-nbt in WorldEdit 8.JNBT is being removed for adventure-nbt in WorldEdit 8.JNBT is being removed for adventure-nbt in WorldEdit 8.JNBT is being removed for adventure-nbt in WorldEdit 8.WorldEdit 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 replacementIf Fawe drops interaction with 1.13, this method is subject to removal.If Fawe drops interaction with 1.13, this method is subject to removal.Not working. Not necessarily for removal, but WARNING DO NOT USE FOR NOW
-
InterfaceDescriptionThis no longer returns useful information.
-
ClassDescriptionAnvil classes were used on versions prior to 1.13 to trim chunks. The way how it's been done was unsafe and led to issues back the years, hence it hasn't been implemented in any modern version. Therefore the current implementation is deprecated for removal without replacement.FAWE is not necessarily the tool you want to use to limit certain tick actions, e.g. fireworks or elytra flying. The code is untouched since the 1.12 era and there is no guarantee that it will work or will be maintained in the future.Unused internallyJNBT is being removed in WE8.Use
ByteArrayBinaryTag
.UseByteBinaryTag
.UseCompoundBinaryTag
.UseCompoundBinaryTag.Builder
.UseDoubleBinaryTag
.UseEndBinaryTag
.UseFloatBinaryTag
.UseIntArrayBinaryTag
.UseIntBinaryTag
.UseCompoundBinaryTag
.UseListBinaryTag
.UseListBinaryTag.Builder
.UseLongArrayBinaryTag
.UseLongBinaryTag
.JNBT is being removed for adventure-nbt in WorldEdit 8.JNBT is being removed for adventure-nbt in WorldEdit 8.JNBT is being removed for adventure-nbt in WorldEdit 8.JNBT is being removed for adventure-nbt in WorldEdit 8.JNBT is being removed for adventure-nbt in WorldEdit 8.UseShortBinaryTag
.UseStringBinaryTag
.JNBT is being removed for adventure-nbt in WorldEdit 8.WorldEdit 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()
.Slow, resource intensive, but sometimes safer than using the recommendedFastSchematicReader
. Avoid reading large schematics with this reader.Slow, resource intensive, but sometimes safer than using the recommendedFastSchematicWriter
. Avoid using large clipboards to create schematics with this writer.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 pattern- FAWE deprecation: Let the queue iterate, not the region function which lacks any kind of optimizations / parallelismuseBiomeChange3D
Only method is being deprecated for removal.
-
FieldDescriptionUse
Settings.settings()
instead to get an instance.UseDBHandler.dbHandler()
instead.UseTaskManager.taskManager()
to get an instance.UseWEManager.weManager()
instead.UseExpressionLexer.VOCABULARY
instead.UseExpressionParser.VOCABULARY
instead.If Fawe drops interaction with 1.13, this method is subject to removal.If Fawe drops interaction with 1.13, this method is subject to removal.
-
MethodDescriptionIf a holder has multiple sources, this will return an empty URIuse
Fawe.instance()
useFawe.platform()
New subclasses should overrideBlockTool.actPrimary(Platform, LocalConfiguration, Player, LocalSession, Location, Direction)
insteadNew subclasses must overrideDoubleActionBlockTool.actSecondary(Platform, LocalConfiguration, Player, LocalSession, Location, Direction)
insteadUseEditSession.setReorderMode(ReorderMode)
with MULTI_STAGE instead.Replace withEditSession.close()
for proper cleanup behavior.UseEditSession.getReorderMode()
with MULTI_STAGE instead.Deprecated as may perform differently in FAWE.Deprecated as may perform differently in FAWE.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)
insteadBiomes in Minecraft are 3D now, useInputExtent.getBiome(BlockVector3)
Biomes in Minecraft are 3D now, useOutputExtent.setBiome(BlockVector3, BiomeType)
It is recommended that you useOutputExtent.setBlock(int, int, int, BlockStateHolder)
in FAWENBT not supported by this maskWill be removed in WorldEdit 8.0 - use the Component variantFAWE binds to the item, not the type - this allows brushes to persist, also deprecated in upstreamThis method is deprecated and only for compatibility with WorldEdit. UseLocalSession.getTool(BaseItem, Player)
instead.The wand is now a tool that can be bound/unbound.The wand is now a tool that can be bound/unbound.useRegion.getVolume()
to prevent overflowsFAWE supports multiple loaded schematicsClipboardHolder.getClipboards()
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.Magic NumbersThe name is now translatable, useBlockType.getRichName()
.Not working. Not necessarily for removal, but WARNING DO NOT USE FOR NOWNames 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)
.Names are now translatable, useItemRegistry.getRichName(ItemType)
.UseWorldEdit.newEditSessionBuilder()
instead. SeeEditSessionFactory
for details.UseWorldEdit.getWorkingDirectoryPath(String)
instead
-
ConstructorDescriptionUse
DiskOptimizedClipboard(Region, UUID)
orDiskOptimizedClipboard(BlockVector3, File)
to avoid creating a large number of clipboard files that won't be cleaned until `clipboard.delete-after-days` and a server restart.FAWE Deprecation - Use method with ExtentNBT not supported by this maskUse other constructors which will preload chunks during iterationFAWE deprecation - Just use theBlockType.getDefaultState()
Use component versionUse component version
-
Enum ConstantDescriptionUse
FaweCache.INSTANCE
to get an instance.Slow, resource intensive, but sometimes safer than using the recommendedBuiltInClipboardFormat.FAST
. Avoid using with any large schematics/clipboards for reading/writing.
Settings.settings()
instead to get an instance.