Deprecated API
Contents
-
Terminally Deprecated Elements
-
Deprecated Interfaces
-
Deprecated Record Classes
-
Deprecated FieldsFieldDescription
-
Deprecated MethodsMethodDescriptionConsider calling
AbstractBlock.AbstractBlockState.canBucketPlace(net.minecraft.fluid.Fluid)instead. See the class javadoc.Consider callingAbstractBlock.AbstractBlockState.canPlaceAt(net.minecraft.world.WorldView, net.minecraft.util.math.BlockPos)instead. See the class javadoc.Consider callingAbstractBlock.AbstractBlockState.canReplace(net.minecraft.item.ItemPlacementContext)instead. See the class javadoc.Consider callingAbstractBlock.AbstractBlockState.emitsRedstonePower()instead. See the class javadoc.Consider callingAbstractBlock.AbstractBlockState.getCollisionShape(BlockView, BlockPos, ShapeContext)instead. See the class javadoc.Consider callingAbstractBlock.AbstractBlockState.getDroppedStacks(net.minecraft.loot.context.LootContext.Builder)instead. See the class javadoc.Consider callingAbstractBlock.AbstractBlockState.getFluidState()instead. See the class javadoc.Consider callingAbstractBlock.AbstractBlockState.getOpacity(net.minecraft.world.BlockView, net.minecraft.util.math.BlockPos)instead. See the class javadoc.Consider callingAbstractBlock.AbstractBlockState.getOutlineShape(BlockView, BlockPos, ShapeContext)instead. See the class javadoc.Consider callingAbstractBlock.AbstractBlockState.getPistonBehavior()instead. See the class javadoc.Consider callingAbstractBlock.AbstractBlockState.getRenderingSeed(net.minecraft.util.math.BlockPos)instead. See the class javadoc.Consider callingAbstractBlock.AbstractBlockState.getRenderType()instead. See the class javadoc.Consider callingAbstractBlock.AbstractBlockState.getSidesShape(net.minecraft.world.BlockView, net.minecraft.util.math.BlockPos)instead. See the class javadoc.net.minecraft.block.AbstractBlock.getStrongRedstonePower(BlockState, BlockView, BlockPos, Direction) Consider callingAbstractBlock.AbstractBlockState.hasComparatorOutput()instead. See the class javadoc.Consider callingAbstractBlock.AbstractBlockState.hasSidedTransparencyinstead. See the class javadoc.Consider callingAbstractBlock.AbstractBlockState.isFullCube(net.minecraft.world.BlockView, net.minecraft.util.math.BlockPos)instead. See the class javadoc.Consider callingAbstractBlock.AbstractBlockState.mirror(net.minecraft.util.BlockMirror)instead. See the class javadoc.Consider callingAbstractBlock.AbstractBlockState.prepare(WorldAccess, BlockPos, int, int)instead. See the class javadoc.Consider callingAbstractBlock.AbstractBlockState.rotate(net.minecraft.util.BlockRotation)instead. See the class javadoc.Please useBlock.asItem()This one is hard to ensure deterministic behavior compared to the non-thread-safe one.
-
Deprecated Constructors
AbstractBlock.AbstractBlockState.calcBlockBreakingDelta(net.minecraft.entity.player.PlayerEntity, net.minecraft.world.BlockView, net.minecraft.util.math.BlockPos)instead. See the class javadoc.