Deprecated API
Contents
- Terminally Deprecated
- Packages
- Interfaces
- Classes
- Exception Classes
- Fields
- Methods
- Constructors
- Enum Constants
-
ElementDescriptionUnusedThis interface has no functionality anymoreThis interface has no functionality anymoreUse
Settings.settings()
instead to get an instance.UseDBHandler.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.Will be made private, useDiskOptimizedClipboard.loadFromFile(File)
Will be made private, useDiskOptimizedClipboard.loadFromFile(File)
will be removed as it is unused and uses outdated typesUnused internallyUnused internal, will be removed in v3useFawe.instance()
Use any ofFawe.submitUUIDKeyQueuedTask(UUID, Runnable)
,Fawe.submitUUIDKeyQueuedTask(UUID, Runnable, Object)
,Fawe.submitUUIDKeyQueuedTask(UUID, Callable)
to ensure if a thread is already a UUID-queued thread, the task is immediately runuseFawe.platform()
Opens streams that are not then closed. UseClipboardFormats.findByFile(File)
and its relevant methods to allow closing created streams/closing the reader (which will close the stream(s))UseFaweCache.INSTANCE
to get an instance.replaced byRandomPattern
combined withLinear2DRandom
.replaced byRandomPattern
combined withLinear3DRandom
.tiles are stored in chunk-normalised coordinate space and thus cannot use the same function as entitiesFor removal without replacement.To be replaced by better-namedQueueHandler.endUnsafe(boolean)
)}To be replaced by better-namedQueueHandler.startUnsafe(boolean)
)}Unused, will be removed in the future. Use String concatenation instead.useNbtUtils.withEntityInfo(LinCompoundTag, Entity)
insteadUseTaskManager.taskManager()
to get an instance.Deprecated without replacement as unused internally, and poor implementation of what it's designed to do.Deprecated without replacement as unused internally, and poor implementation of what it's designed to do.Deprecated without replacement as unused internally, and poor implementation of what it's designed to do.Deprecated without replacement as unused internally, and poor implementation of what it's designed to do.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 lin-bus in WorldEdit 8, useLinBinaryIO
insteadJNBT is being removed for lin-bus in WorldEdit 8, useLinBinaryIO
insteaduseNbtUtils.addUUIDToMap(Map, UUID)
insteadWorldEdit does not handle interpreting NBT, deprecated for removal without replacementWorldEdit does not handle interpreting NBT, deprecated for removal without replacementDO NOT USE. Sponge formats 2 and 3 both use .schem by default.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.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.useBiomeType.id()
Not working. Not necessarily for removal, but WARNING DO NOT USE FOR NOWuseEntityType.id()
useFluidType.id()
UseItemMaterial.maxDamage()
instead.UseItemMaterial.maxStackSize()
instead.
-
InterfaceDescriptionThis interface has no functionality anymoreThis 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 internallyUnused internal, will be removed in v3replaced by
RandomPattern
combined withLinear2DRandom
.replaced byRandomPattern
combined withLinear3DRandom
.Unused, will be removed in the future. Use String concatenation instead.UseLinByteArrayTag
.UseLinByteTag
.UseLinCompoundTag
.UseLinCompoundTag.Builder
.UseLinDoubleTag
.UseLinEndTag
.UseLinFloatTag
.UseLinIntArrayTag
.UseLinIntTag
.UseLinCompoundTag
.JNBT is being removed in WE8.UseLinListTag
.UseLinListTag.Builder
.UseLinLongArrayTag
.UseLinLongTag
.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 lin-bus in WorldEdit 8, useLinBinaryIO
insteadJNBT is being removed for lin-bus in WorldEdit 8, useLinBinaryIO
insteadJNBT is being removed for adventure-nbt 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 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.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.
-
Exception ClassDescription
-
FieldDescriptionUse
Settings.settings()
instead to get an instance.UseDBHandler.dbHandler()
instead.UseFaweCache.INSTANCE
to get an instance.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.Use actor's limitFaweLimit.MAX_BUTCHER_RADIUS
Use actor's limitFaweLimit.MAX_CHANGES
Use actor's limitFaweLimit.MAX_BRUSH_RADIUS
Use actor's limitFaweLimit.MAX_CHANGES
Use actor's limitFaweLimit.MAX_RADIUS
Use actor's limitFaweLimit.MAX_SUPER_PICKAXE_SIZE
-
MethodDescriptionUnusedThis interface has no functionality anymoreUse the version that takes a
ParserContext
,RichParser.getSuggestions(String, int, ParserContext)
will be removed as it is unused and uses outdated typesIf a holder has multiple sources, this will return an empty URIuseFawe.instance()
Use any ofFawe.submitUUIDKeyQueuedTask(UUID, Runnable)
,Fawe.submitUUIDKeyQueuedTask(UUID, Runnable, Object)
,Fawe.submitUUIDKeyQueuedTask(UUID, Callable)
to ensure if a thread is already a UUID-queued thread, the task is immediately runuseFawe.platform()
Opens streams that are not then closed. UseClipboardFormats.findByFile(File)
and its relevant methods to allow closing created streams/closing the reader (which will close the stream(s))tiles are stored in chunk-normalised coordinate space and thus cannot use the same function as entitiesFor removal without replacement.To be replaced by better-namedQueueHandler.endUnsafe(boolean)
)}To be replaced by better-namedQueueHandler.startUnsafe(boolean)
)}useNbtUtils.withEntityInfo(LinCompoundTag, Entity)
insteadDeprecated without replacement as unused internally, and poor implementation of what it's designed to do.Deprecated without replacement as unused internally, and poor implementation of what it's designed to do.Deprecated without replacement as unused internally, and poor implementation of what it's designed to do.Deprecated without replacement as unused internally, and poor implementation of what it's designed to do.useNbtUtils.addUUIDToMap(Map, UUID)
insteadNew 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)
insteadInternal use only. UseBlockArrayClipboard(Region)
Internal use only. UseBlockArrayClipboard(Region, UUID)
DO NOT USE. Sponge formats 2 and 3 both use .schem by default.this 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)
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 variantHistory could be larger than int max value so FAWE prefersChangeSet.longSize()
Use the version that takes aParserContext
,InputParser.getSuggestions(String, ParserContext)
FAWE 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.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.FAWE supports multiple loaded schematicsClipboardHolder.getClipboards()
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.useBiomeType.id()
Magic NumbersThe name is now translatable, useBlockType.getRichName()
.Not working. Not necessarily for removal, but WARNING DO NOT USE FOR NOWuseEntityType.id()
useFluidType.id()
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)
.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.Will be made private, useDiskOptimizedClipboard.loadFromFile(File)
Will be made private, useDiskOptimizedClipboard.loadFromFile(File)
FAWE Deprecation - Use method with ExtentNBT not supported by this maskUse other constructors which will preload chunks during iterationFAWE deprecation - Just use theBlockType.getDefaultState()
You should not be initialising your own BlockTypes, useBlockTypes.get(String)
instead. If there is a specific requirement to actually create new block types, please contact the FAWE devs to discuss. UseBlockTypes.get(String)
instead.You should not be initialising your own BlockTypes, useBlockTypes.get(String)
instead. If there is a specific requirement to actually create new block types, please contact the FAWE devs to discuss. UseBlockTypes.get(String)
instead.Use component versionUse component version
-
Enum ConstantDescriptionSlow, resource intensive, but sometimes safer than using the recommended
BuiltInClipboardFormat.FAST
. Avoid using with any large schematics/clipboards for reading/writing.