-
InterfaceDescriptionThis no longer returns useful information.
-
ClassDescriptionUsing the ever-extending factory methods is deprecated. Replace with
EditSessionBuilder
, which in most cases will be as simple as callingbuilder.world(world).build()
.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.
-
MethodDescriptionNew subclasses should override
BlockTool.actPrimary(Platform, LocalConfiguration, Player, LocalSession, Location, Direction)
insteadNew subclasses must overrideDoubleActionBlockTool.actSecondary(Platform, LocalConfiguration, Player, LocalSession, Location, Direction)
insteadUseEditSession.setReorderMode(ReorderMode)
with another mode instead.UseEditSession.setReorderMode(ReorderMode)
with MULTI_STAGE instead.Replace withEditSession.close()
for proper cleanup behavior.UseEditSession.getReorderMode()
with MULTI_STAGE 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)
insteadBiomes 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 variantThe 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 overflowsUse 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)
.Names are now translatable, useItemRegistry.getRichName(ItemType)
.UseWorldEdit.newEditSessionBuilder()
instead. SeeEditSessionFactory
for details.UseWorldEdit.getWorkingDirectoryPath(String)
instead
-
ConstructorDescriptionUse component versionUse component version