Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Record Classes
  • Fields
  • Methods
  • Constructors
  • Enum Constants
  • Terminally Deprecated Elements
    Element
    Description
    net.minecraft.world.biome.Biome.FOLIAGE_NOISE
  • Deprecated Interfaces
    Interface
    Description
    net.minecraft.client.item.ModelPredicateProvider
    net.minecraft.particle.ParticleEffect.Factory
  • Deprecated Classes
    Class
    Description
    net.minecraft.util.Lazy
    net.minecraft.world.gen.feature.LakeFeature
    net.minecraft.world.gen.placementmodifier.CountMultilayerPlacementModifier
  • Deprecated Record Classes
    Record Class
    Description
    net.minecraft.world.gen.densityfunction.DensityFunctionTypes.TerrainShaperSpline
  • Deprecated Fields
    Field
    Description
    net.minecraft.client.gui.widget.EntryListWidget.Entry.parentList
    net.minecraft.client.texture.SpriteAtlasTexture.BLOCK_ATLAS_TEXTURE
    net.minecraft.client.texture.SpriteAtlasTexture.PARTICLE_ATLAS_TEXTURE
    net.minecraft.item.BlockItem.block
    net.minecraft.item.ItemStack.item
    net.minecraft.SharedConstants.CURRENT_SERIES
    net.minecraft.SharedConstants.DATA_PACK_VERSION
    net.minecraft.SharedConstants.field_29736
    net.minecraft.SharedConstants.IS_DEVELOPMENT_VERSION
    net.minecraft.SharedConstants.RELEASE_TARGET
    net.minecraft.SharedConstants.RELEASE_TARGET_PROTOCOL_VERSION
    net.minecraft.SharedConstants.RESOURCE_PACK_VERSION
    net.minecraft.SharedConstants.VERSION_NAME
    net.minecraft.SharedConstants.WORLD_VERSION
    net.minecraft.world.biome.Biome.FOLIAGE_NOISE
    net.minecraft.world.chunk.Chunk.biome
    net.minecraft.world.gen.chunk.ChunkGenerator.field_37261
    net.minecraft.world.gen.densityfunction.DensityFunctionTypes.Noise.xzScale
  • Deprecated Methods
    Method
    Description
    com.mojang.blaze3d.systems.RenderSystem.runAsFancy(Runnable)
    net.minecraft.block.AbstractBlock.calcBlockBreakingDelta(BlockState, PlayerEntity, BlockView, BlockPos)
    Consider calling AbstractBlock.AbstractBlockState.calcBlockBreakingDelta(net.minecraft.entity.player.PlayerEntity, net.minecraft.world.BlockView, net.minecraft.util.math.BlockPos) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.canBucketPlace(BlockState, Fluid)
    Consider calling AbstractBlock.AbstractBlockState.canBucketPlace(net.minecraft.fluid.Fluid) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.canPathfindThrough(BlockState, BlockView, BlockPos, NavigationType)
    Consider calling AbstractBlock.AbstractBlockState.canPathfindThrough(net.minecraft.world.BlockView, net.minecraft.util.math.BlockPos, net.minecraft.entity.ai.pathing.NavigationType) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.canPlaceAt(BlockState, WorldView, BlockPos)
    Consider calling AbstractBlock.AbstractBlockState.canPlaceAt(net.minecraft.world.WorldView, net.minecraft.util.math.BlockPos) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.canReplace(BlockState, ItemPlacementContext)
    Consider calling AbstractBlock.AbstractBlockState.canReplace(net.minecraft.item.ItemPlacementContext) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.createScreenHandlerFactory(BlockState, World, BlockPos)
    Consider calling AbstractBlock.AbstractBlockState.createScreenHandlerFactory(net.minecraft.world.World, net.minecraft.util.math.BlockPos) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.emitsRedstonePower(BlockState)
    Consider calling AbstractBlock.AbstractBlockState.emitsRedstonePower() instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.getAmbientOcclusionLightLevel(BlockState, BlockView, BlockPos)
    Consider calling AbstractBlock.AbstractBlockState.getAmbientOcclusionLightLevel(net.minecraft.world.BlockView, net.minecraft.util.math.BlockPos) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.getCameraCollisionShape(BlockState, BlockView, BlockPos, ShapeContext)
    Consider calling AbstractBlock.AbstractBlockState.getCameraCollisionShape(net.minecraft.world.BlockView, net.minecraft.util.math.BlockPos, net.minecraft.block.ShapeContext) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.getCollisionShape(BlockState, BlockView, BlockPos, ShapeContext)
    Consider calling AbstractBlock.AbstractBlockState.getCollisionShape(BlockView, BlockPos, ShapeContext) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.getComparatorOutput(BlockState, World, BlockPos)
    Consider calling AbstractBlock.AbstractBlockState.getComparatorOutput(net.minecraft.world.World, net.minecraft.util.math.BlockPos) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.getCullingShape(BlockState, BlockView, BlockPos)
    Consider calling AbstractBlock.AbstractBlockState.getCullingShape(net.minecraft.world.BlockView, net.minecraft.util.math.BlockPos) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.getDroppedStacks(BlockState, LootContext.Builder)
    Consider calling AbstractBlock.AbstractBlockState.getDroppedStacks(net.minecraft.loot.context.LootContext.Builder) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.getFluidState(BlockState)
    Consider calling AbstractBlock.AbstractBlockState.getFluidState() instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.getOpacity(BlockState, BlockView, BlockPos)
    Consider calling AbstractBlock.AbstractBlockState.getOpacity(net.minecraft.world.BlockView, net.minecraft.util.math.BlockPos) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.getOutlineShape(BlockState, BlockView, BlockPos, ShapeContext)
    Consider calling AbstractBlock.AbstractBlockState.getOutlineShape(BlockView, BlockPos, ShapeContext) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.getPistonBehavior(BlockState)
    Consider calling AbstractBlock.AbstractBlockState.getPistonBehavior() instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.getRaycastShape(BlockState, BlockView, BlockPos)
    Consider calling AbstractBlock.AbstractBlockState.getRaycastShape(net.minecraft.world.BlockView, net.minecraft.util.math.BlockPos) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.getRenderingSeed(BlockState, BlockPos)
    Consider calling AbstractBlock.AbstractBlockState.getRenderingSeed(net.minecraft.util.math.BlockPos) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.getRenderType(BlockState)
    Consider calling AbstractBlock.AbstractBlockState.getRenderType() instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.getSidesShape(BlockState, BlockView, BlockPos)
    Consider calling AbstractBlock.AbstractBlockState.getSidesShape(net.minecraft.world.BlockView, net.minecraft.util.math.BlockPos) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.getStateForNeighborUpdate(BlockState, Direction, BlockState, WorldAccess, BlockPos, BlockPos)
    Consider calling AbstractBlock.AbstractBlockState.getStateForNeighborUpdate(net.minecraft.util.math.Direction, net.minecraft.block.BlockState, net.minecraft.world.WorldAccess, net.minecraft.util.math.BlockPos, net.minecraft.util.math.BlockPos) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.getStrongRedstonePower(BlockState, BlockView, BlockPos, Direction)
    Consider calling AbstractBlock.AbstractBlockState.getStrongRedstonePower(net.minecraft.world.BlockView, net.minecraft.util.math.BlockPos, net.minecraft.util.math.Direction) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.getWeakRedstonePower(BlockState, BlockView, BlockPos, Direction)
    Consider calling AbstractBlock.AbstractBlockState.getWeakRedstonePower(net.minecraft.world.BlockView, net.minecraft.util.math.BlockPos, net.minecraft.util.math.Direction) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.hasComparatorOutput(BlockState)
    Consider calling AbstractBlock.AbstractBlockState.hasComparatorOutput() instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.hasSidedTransparency(BlockState)
    Consider calling AbstractBlock.AbstractBlockState.hasSidedTransparency instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.isShapeFullCube(BlockState, BlockView, BlockPos)
    Consider calling AbstractBlock.AbstractBlockState.isFullCube(net.minecraft.world.BlockView, net.minecraft.util.math.BlockPos) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.isSideInvisible(BlockState, BlockState, Direction)
    Consider calling AbstractBlock.AbstractBlockState.isSideInvisible(net.minecraft.block.BlockState, net.minecraft.util.math.Direction) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.mirror(BlockState, BlockMirror)
    Consider calling AbstractBlock.AbstractBlockState.mirror(net.minecraft.util.BlockMirror) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.neighborUpdate(BlockState, World, BlockPos, Block, BlockPos, boolean)
    Consider calling AbstractBlock.AbstractBlockState.neighborUpdate(net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.block.Block, net.minecraft.util.math.BlockPos, boolean) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.onBlockAdded(BlockState, World, BlockPos, BlockState, boolean)
    Consider calling AbstractBlock.AbstractBlockState.onBlockAdded(net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.block.BlockState, boolean) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.onBlockBreakStart(BlockState, World, BlockPos, PlayerEntity)
    Consider calling AbstractBlock.AbstractBlockState.onBlockBreakStart(net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.entity.player.PlayerEntity) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.onEntityCollision(BlockState, World, BlockPos, Entity)
    Consider calling AbstractBlock.AbstractBlockState.onEntityCollision(net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.entity.Entity) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.onProjectileHit(World, BlockState, BlockHitResult, ProjectileEntity)
    Consider calling AbstractBlock.AbstractBlockState.onProjectileHit(net.minecraft.world.World, net.minecraft.block.BlockState, net.minecraft.util.hit.BlockHitResult, net.minecraft.entity.projectile.ProjectileEntity) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.onStacksDropped(BlockState, ServerWorld, BlockPos, ItemStack)
    Consider calling AbstractBlock.AbstractBlockState.onStacksDropped(net.minecraft.server.world.ServerWorld, net.minecraft.util.math.BlockPos, net.minecraft.item.ItemStack) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.onStateReplaced(BlockState, World, BlockPos, BlockState, boolean)
    Consider calling AbstractBlock.AbstractBlockState.onStateReplaced(net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.block.BlockState, boolean) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.onSyncedBlockEvent(BlockState, World, BlockPos, int, int)
    Consider calling AbstractBlock.AbstractBlockState.onSyncedBlockEvent(net.minecraft.world.World, net.minecraft.util.math.BlockPos, int, int) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.onUse(BlockState, World, BlockPos, PlayerEntity, Hand, BlockHitResult)
    Consider calling AbstractBlock.AbstractBlockState.onUse(net.minecraft.world.World, net.minecraft.entity.player.PlayerEntity, net.minecraft.util.Hand, net.minecraft.util.hit.BlockHitResult) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.prepare(BlockState, WorldAccess, BlockPos, int, int)
    Consider calling AbstractBlock.AbstractBlockState.prepare(WorldAccess, BlockPos, int, int) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.randomTick(BlockState, ServerWorld, BlockPos, Random)
    Consider calling AbstractBlock.AbstractBlockState.randomTick(net.minecraft.server.world.ServerWorld, net.minecraft.util.math.BlockPos, java.util.Random) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.rotate(BlockState, BlockRotation)
    Consider calling AbstractBlock.AbstractBlockState.rotate(net.minecraft.util.BlockRotation) instead. See the class javadoc.
    net.minecraft.block.AbstractBlock.scheduledTick(BlockState, ServerWorld, BlockPos, Random)
    Consider calling AbstractBlock.AbstractBlockState.scheduledTick(net.minecraft.server.world.ServerWorld, net.minecraft.util.math.BlockPos, java.util.Random) instead. See the class javadoc.
    net.minecraft.block.Block.getRegistryEntry()
    net.minecraft.block.entity.BlockEntity.setCachedState(BlockState)
    net.minecraft.client.item.UnclampedModelPredicateProvider.call(ItemStack, ClientWorld, LivingEntity, int)
    net.minecraft.client.texture.NativeImage.makePixelArray()
    net.minecraft.client.util.RawTextureDataLoader.loadRawTextureData(ResourceManager, Identifier)
    net.minecraft.data.client.ModelIds.getMinecraftNamespacedBlock(String)
    net.minecraft.entity.ai.brain.Brain.getMemories()
    net.minecraft.entity.ai.brain.Brain.getPossibleActivities()
    net.minecraft.entity.ai.brain.Brain.getRunningTasks()
    net.minecraft.entity.Bucketable.copyDataFromNbt(MobEntity, NbtCompound)
    net.minecraft.entity.Bucketable.copyDataToStack(MobEntity, ItemStack)
    net.minecraft.entity.EntityType.getRegistryEntry()
    net.minecraft.fluid.Fluid.getRegistryEntry()
    net.minecraft.fluid.Fluid.isIn(TagKey<Fluid>)
    net.minecraft.GameVersion.getSeriesId()
    net.minecraft.GameVersion.getWorldVersion()
    net.minecraft.item.Item.fromBlock(Block)
    Please use Block.asItem()
    net.minecraft.item.Item.getRegistryEntry()
    net.minecraft.loot.function.SetNbtLootFunction.builder(NbtCompound)
    net.minecraft.server.world.ServerWorld.getDragonPart(int)
    net.minecraft.structure.SimpleStructurePiece.translate(int, int, int)
    net.minecraft.structure.StructurePiecesCollector.shift(int)
    net.minecraft.structure.StructurePiecesCollector.shiftInto(int, int, Random, int)
    net.minecraft.util.math.BlockBox.encompass(BlockBox)
    net.minecraft.util.math.BlockBox.encompass(BlockPos)
    net.minecraft.util.math.BlockBox.move(int, int, int)
    net.minecraft.util.math.BlockBox.move(Vec3i)
    net.minecraft.util.math.MathHelper.fwrapDegrees(double)
    net.minecraft.util.math.MathHelper.lerpAngle(float, float, float)
    net.minecraft.util.math.noise.DoublePerlinNoiseSampler.createLegacy(AbstractRandom, DoublePerlinNoiseSampler.NoiseParameters)
    net.minecraft.util.math.noise.OctavePerlinNoiseSampler.createLegacy(AbstractRandom, int, DoubleList)
    net.minecraft.util.math.noise.OctavePerlinNoiseSampler.createLegacy(AbstractRandom, IntStream)
    net.minecraft.util.math.noise.OctavePerlinNoiseSampler.sample(double, double, double, double, double, boolean)
    net.minecraft.util.math.noise.PerlinNoiseSampler.sample(double, double, double, double, double)
    net.minecraft.util.registry.RegistryEntry.Reference.intrusive(Registry<T>, T)
    net.minecraft.world.biome.Biome.getCategory(RegistryEntry<Biome>)
    net.minecraft.world.biome.Biome.getTemperature(BlockPos)
    net.minecraft.world.chunk.Chunk.setBiomeIfAbsent(Supplier<RegistryEntry<Biome>>)
    net.minecraft.world.chunk.WorldChunk.addEntity(Entity)
    net.minecraft.world.ChunkRegion.toServerWorld()
    net.minecraft.world.dimension.DimensionType.worldFromDimensionNbt(Dynamic<?>)
    net.minecraft.world.event.GameEvent.getRegistryEntry()
    net.minecraft.world.gen.carver.CarverContext.applyMaterialRule(Function<BlockPos, RegistryEntry<Biome>>, Chunk, BlockPos, boolean)
    net.minecraft.world.gen.carver.CarverContext.getRegistryManager()
    net.minecraft.world.gen.chunk.ChunkGeneratorSettings.mobGenerationDisabled()
    net.minecraft.world.gen.chunk.NoiseChunkGenerator.applyMaterialRule(CarverContext, Function<BlockPos, RegistryEntry<Biome>>, Chunk, ChunkNoiseSampler, BlockPos, boolean)
    net.minecraft.world.gen.densityfunction.DensityFunctionTypes.Noise.xzScale()
    net.minecraft.world.gen.surfacebuilder.SurfaceBuilder.applyMaterialRule(MaterialRules.MaterialRule, CarverContext, Function<BlockPos, RegistryEntry<Biome>>, Chunk, ChunkNoiseSampler, BlockPos, boolean)
    net.minecraft.world.poi.PointOfInterest.getFreeTickets()
    net.minecraft.world.poi.PointOfInterestSet.getFreeTickets(BlockPos)
    net.minecraft.world.poi.PointOfInterestStorage.getFreeTickets(BlockPos)
    net.minecraft.world.WorldView.getBrightness(BlockPos)
    net.minecraft.world.WorldView.getSeaLevel()
    net.minecraft.world.WorldView.isChunkLoaded(int, int)
    net.minecraft.world.WorldView.isChunkLoaded(BlockPos)
    net.minecraft.world.WorldView.isPosLoaded(int, int)
    net.minecraft.world.WorldView.isRegionLoaded(int, int, int, int)
    net.minecraft.world.WorldView.isRegionLoaded(int, int, int, int, int, int)
    net.minecraft.world.WorldView.isRegionLoaded(BlockPos, BlockPos)
  • Deprecated Constructors
    Constructor
    Description
    net.minecraft.block.EntityShapeContext(Entity)
    net.minecraft.tag.TagKey(RegistryKey<? extends Registry<T>>, Identifier)
    net.minecraft.world.dimension.DimensionType(OptionalLong, boolean, boolean, boolean, boolean, double, boolean, boolean, boolean, boolean, boolean, int, int, int, TagKey<Block>, Identifier, float)
  • Deprecated Enum Constants
    Enum Constant
    Description
    net.minecraft.world.biome.source.util.VanillaTerrainParameters.LocationFunction.RIDGES