Class AbstractBlock

java.lang.Object
net.minecraft.block.AbstractBlock
Direct Known Subclasses:
Block

public abstract class AbstractBlock extends Object
Mappings:
Namespace Name
official cnu
intermediary net/minecraft/class_4970
named net/minecraft/block/AbstractBlock
  • Field Details

    • DIRECTIONS

      protected static final Direction[] DIRECTIONS
      Mappings:
      Namespace Name Mixin selector
      official aF Lcnu;aF:[Lgm;
      intermediary field_23157 Lnet/minecraft/class_4970;field_23157:[Lnet/minecraft/class_2350;
      named DIRECTIONS Lnet/minecraft/block/AbstractBlock;DIRECTIONS:[Lnet/minecraft/util/math/Direction;
    • material

      protected final Material material
      Mappings:
      Namespace Name Mixin selector
      official aG Lcnu;aG:Ldhm;
      intermediary field_23158 Lnet/minecraft/class_4970;field_23158:Lnet/minecraft/class_3614;
      named material Lnet/minecraft/block/AbstractBlock;material:Lnet/minecraft/block/Material;
    • collidable

      protected final boolean collidable
      Mappings:
      Namespace Name Mixin selector
      official aH Lcnu;aH:Z
      intermediary field_23159 Lnet/minecraft/class_4970;field_23159:Z
      named collidable Lnet/minecraft/block/AbstractBlock;collidable:Z
    • resistance

      protected final float resistance
      Mappings:
      Namespace Name Mixin selector
      official aI Lcnu;aI:F
      intermediary field_23160 Lnet/minecraft/class_4970;field_23160:F
      named resistance Lnet/minecraft/block/AbstractBlock;resistance:F
    • randomTicks

      protected final boolean randomTicks
      Mappings:
      Namespace Name Mixin selector
      official aJ Lcnu;aJ:Z
      intermediary field_23161 Lnet/minecraft/class_4970;field_23161:Z
      named randomTicks Lnet/minecraft/block/AbstractBlock;randomTicks:Z
    • soundGroup

      protected final BlockSoundGroup soundGroup
      Mappings:
      Namespace Name Mixin selector
      official aK Lcnu;aK:Lcjh;
      intermediary field_23162 Lnet/minecraft/class_4970;field_23162:Lnet/minecraft/class_2498;
      named soundGroup Lnet/minecraft/block/AbstractBlock;soundGroup:Lnet/minecraft/sound/BlockSoundGroup;
    • slipperiness

      protected final float slipperiness
      Mappings:
      Namespace Name Mixin selector
      official aL Lcnu;aL:F
      intermediary field_23163 Lnet/minecraft/class_4970;field_23163:F
      named slipperiness Lnet/minecraft/block/AbstractBlock;slipperiness:F
    • velocityMultiplier

      protected final float velocityMultiplier
      Mappings:
      Namespace Name Mixin selector
      official aM Lcnu;aM:F
      intermediary field_23164 Lnet/minecraft/class_4970;field_23164:F
      named velocityMultiplier Lnet/minecraft/block/AbstractBlock;velocityMultiplier:F
    • jumpVelocityMultiplier

      protected final float jumpVelocityMultiplier
      Mappings:
      Namespace Name Mixin selector
      official aN Lcnu;aN:F
      intermediary field_23165 Lnet/minecraft/class_4970;field_23165:F
      named jumpVelocityMultiplier Lnet/minecraft/block/AbstractBlock;jumpVelocityMultiplier:F
    • dynamicBounds

      protected final boolean dynamicBounds
      Mappings:
      Namespace Name Mixin selector
      official aO Lcnu;aO:Z
      intermediary field_23154 Lnet/minecraft/class_4970;field_23154:Z
      named dynamicBounds Lnet/minecraft/block/AbstractBlock;dynamicBounds:Z
    • settings

      protected final AbstractBlock.Settings settings
      Mappings:
      Namespace Name Mixin selector
      official aP Lcnu;aP:Lcnu$c;
      intermediary field_23155 Lnet/minecraft/class_4970;field_23155:Lnet/minecraft/class_4970$class_2251;
      named settings Lnet/minecraft/block/AbstractBlock;settings:Lnet/minecraft/block/AbstractBlock$Settings;
    • lootTableId

      @Nullable protected @Nullable Identifier lootTableId
      Mappings:
      Namespace Name Mixin selector
      official aQ Lcnu;aQ:Lyb;
      intermediary field_23156 Lnet/minecraft/class_4970;field_23156:Lnet/minecraft/class_2960;
      named lootTableId Lnet/minecraft/block/AbstractBlock;lootTableId:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • AbstractBlock

      public AbstractBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcnu;<init>(Lcnu$c;)V
      intermediary <init> Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • prepare

      @Deprecated public void prepare(BlockState state, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Lbzx;Lgh;II)V
      intermediary method_9517 Lnet/minecraft/class_4970;method_9517(Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;II)V
      named prepare Lnet/minecraft/block/AbstractBlock;prepare(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;II)V
    • canPathfindThrough

      @Deprecated public boolean canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Lbzc;Lgh;Ldhz;)Z
      intermediary method_9516 Lnet/minecraft/class_4970;method_9516(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_10;)Z
      named canPathfindThrough Lnet/minecraft/block/AbstractBlock;canPathfindThrough(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/ai/pathing/NavigationType;)Z
    • getStateForNeighborUpdate

      @Deprecated public BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
      Deprecated.
      Gets the possibly updated block state of this block when a neighboring block is updated.
      Parameters:
      state - the state of this block
      direction - the direction from this block to the neighbor
      neighborState - the state of the updated neighbor block
      world - the world
      pos - the position of this block
      neighborPos - the position of the neighbor block
      Returns:
      the new state of this block
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Lgm;Lcnv;Lbzx;Lgh;Lgh;)Lcnv;
      intermediary method_9559 Lnet/minecraft/class_4970;method_9559(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
      named getStateForNeighborUpdate Lnet/minecraft/block/AbstractBlock;getStateForNeighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • isSideInvisible

      @Deprecated public boolean isSideInvisible(BlockState state, BlockState stateFrom, Direction direction)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Lcnv;Lgm;)Z
      intermediary method_9522 Lnet/minecraft/class_4970;method_9522(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Z
      named isSideInvisible Lnet/minecraft/block/AbstractBlock;isSideInvisible(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
    • neighborUpdate

      @Deprecated public void neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Lbzw;Lgh;Lccr;Lgh;Z)V
      intermediary method_9612 Lnet/minecraft/class_4970;method_9612(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;Z)V
      named neighborUpdate Lnet/minecraft/block/AbstractBlock;neighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;Z)V
    • onBlockAdded

      @Deprecated public void onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official b Lcnu;b(Lcnv;Lbzw;Lgh;Lcnv;Z)V
      intermediary method_9615 Lnet/minecraft/class_4970;method_9615(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)V
      named onBlockAdded Lnet/minecraft/block/AbstractBlock;onBlockAdded(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
    • onStateReplaced

      @Deprecated public void onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
      Deprecated.
      Called in WorldChunk.setBlockState(BlockPos, BlockState, boolean) if newState is different from state. Vanilla blocks perform removal cleanups here.
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Lbzw;Lgh;Lcnv;Z)V
      intermediary method_9536 Lnet/minecraft/class_4970;method_9536(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)V
      named onStateReplaced Lnet/minecraft/block/AbstractBlock;onStateReplaced(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
    • onUse

      @Deprecated public ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
      Deprecated.
      Called when this block is used by a player. This, by default, is bound to using the right mouse button.

      This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using world.isClient().

      If the action result is successful on a logical client, then the action will be sent to the logical server for processing.

      Returns:
      an action result that specifies if using the block was successful.
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Lbzw;Lgh;Lbnk;Lavi;Ldnv;)Lavj;
      intermediary method_9534 Lnet/minecraft/class_4970;method_9534(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Lnet/minecraft/class_3965;)Lnet/minecraft/class_1269;
      named onUse Lnet/minecraft/block/AbstractBlock;onUse(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/util/hit/BlockHitResult;)Lnet/minecraft/util/ActionResult;
    • onSyncedBlockEvent

      @Deprecated public boolean onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Lbzw;Lgh;II)Z
      intermediary method_9592 Lnet/minecraft/class_4970;method_9592(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;II)Z
      named onSyncedBlockEvent Lnet/minecraft/block/AbstractBlock;onSyncedBlockEvent(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;II)Z
    • getRenderType

      @Deprecated public BlockRenderType getRenderType(BlockState state)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official b_ Lcnu;b_(Lcnv;)Lcig;
      intermediary method_9604 Lnet/minecraft/class_4970;method_9604(Lnet/minecraft/class_2680;)Lnet/minecraft/class_2464;
      named getRenderType Lnet/minecraft/block/AbstractBlock;getRenderType(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockRenderType;
    • hasSidedTransparency

      @Deprecated public boolean hasSidedTransparency(BlockState state)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official g_ Lcnu;g_(Lcnv;)Z
      intermediary method_9526 Lnet/minecraft/class_4970;method_9526(Lnet/minecraft/class_2680;)Z
      named hasSidedTransparency Lnet/minecraft/block/AbstractBlock;hasSidedTransparency(Lnet/minecraft/block/BlockState;)Z
    • emitsRedstonePower

      @Deprecated public boolean emitsRedstonePower(BlockState state)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official f_ Lcnu;f_(Lcnv;)Z
      intermediary method_9506 Lnet/minecraft/class_4970;method_9506(Lnet/minecraft/class_2680;)Z
      named emitsRedstonePower Lnet/minecraft/block/AbstractBlock;emitsRedstonePower(Lnet/minecraft/block/BlockState;)Z
    • getPistonBehavior

      @Deprecated public PistonBehavior getPistonBehavior(BlockState state)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official d Lcnu;d(Lcnv;)Ldho;
      intermediary method_9527 Lnet/minecraft/class_4970;method_9527(Lnet/minecraft/class_2680;)Lnet/minecraft/class_3619;
      named getPistonBehavior Lnet/minecraft/block/AbstractBlock;getPistonBehavior(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/piston/PistonBehavior;
    • getFluidState

      @Deprecated public FluidState getFluidState(BlockState state)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official c_ Lcnu;c_(Lcnv;)Ldhi;
      intermediary method_9545 Lnet/minecraft/class_4970;method_9545(Lnet/minecraft/class_2680;)Lnet/minecraft/class_3610;
      named getFluidState Lnet/minecraft/block/AbstractBlock;getFluidState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/FluidState;
    • hasComparatorOutput

      @Deprecated public boolean hasComparatorOutput(BlockState state)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official d_ Lcnu;d_(Lcnv;)Z
      intermediary method_9498 Lnet/minecraft/class_4970;method_9498(Lnet/minecraft/class_2680;)Z
      named hasComparatorOutput Lnet/minecraft/block/AbstractBlock;hasComparatorOutput(Lnet/minecraft/block/BlockState;)Z
    • getOffsetType

      public AbstractBlock.OffsetType getOffsetType()
      Mappings:
      Namespace Name Mixin selector
      official T_ Lcnu;T_()Lcnu$b;
      intermediary method_16841 Lnet/minecraft/class_4970;method_16841()Lnet/minecraft/class_4970$class_2250;
      named getOffsetType Lnet/minecraft/block/AbstractBlock;getOffsetType()Lnet/minecraft/block/AbstractBlock$OffsetType;
    • getMaxModelOffset

      public float getMaxModelOffset()
      Mappings:
      Namespace Name Mixin selector
      official V_ Lcnu;V_()F
      intermediary method_32913 Lnet/minecraft/class_4970;method_32913()F
      named getMaxModelOffset Lnet/minecraft/block/AbstractBlock;getMaxModelOffset()F
    • getVerticalModelOffsetMultiplier

      public float getVerticalModelOffsetMultiplier()
      Mappings:
      Namespace Name Mixin selector
      official Y_ Lcnu;Y_()F
      intermediary method_37247 Lnet/minecraft/class_4970;method_37247()F
      named getVerticalModelOffsetMultiplier Lnet/minecraft/block/AbstractBlock;getVerticalModelOffsetMultiplier()F
    • rotate

      @Deprecated public BlockState rotate(BlockState state, BlockRotation rotation)
      Deprecated.
      Applies a block rotation to a block state.

      By default, this returns the provided block state.

      Returns:
      the rotated block state
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Lcin;)Lcnv;
      intermediary method_9598 Lnet/minecraft/class_4970;method_9598(Lnet/minecraft/class_2680;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2680;
      named rotate Lnet/minecraft/block/AbstractBlock;rotate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
    • mirror

      @Deprecated public BlockState mirror(BlockState state, BlockMirror mirror)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Lcha;)Lcnv;
      intermediary method_9569 Lnet/minecraft/class_4970;method_9569(Lnet/minecraft/class_2680;Lnet/minecraft/class_2415;)Lnet/minecraft/class_2680;
      named mirror Lnet/minecraft/block/AbstractBlock;mirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
    • canReplace

      @Deprecated public boolean canReplace(BlockState state, ItemPlacementContext context)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Lbvx;)Z
      intermediary method_9616 Lnet/minecraft/class_4970;method_9616(Lnet/minecraft/class_2680;Lnet/minecraft/class_1750;)Z
      named canReplace Lnet/minecraft/block/AbstractBlock;canReplace(Lnet/minecraft/block/BlockState;Lnet/minecraft/item/ItemPlacementContext;)Z
    • canBucketPlace

      @Deprecated public boolean canBucketPlace(BlockState state, Fluid fluid)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Ldhh;)Z
      intermediary method_22358 Lnet/minecraft/class_4970;method_22358(Lnet/minecraft/class_2680;Lnet/minecraft/class_3611;)Z
      named canBucketPlace Lnet/minecraft/block/AbstractBlock;canBucketPlace(Lnet/minecraft/block/BlockState;Lnet/minecraft/fluid/Fluid;)Z
    • getDroppedStacks

      @Deprecated public List<ItemStack> getDroppedStacks(BlockState state, LootContext.Builder builder)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Ldjn$a;)Ljava/util/List;
      intermediary method_9560 Lnet/minecraft/class_4970;method_9560(Lnet/minecraft/class_2680;Lnet/minecraft/class_47$class_48;)Ljava/util/List;
      named getDroppedStacks Lnet/minecraft/block/AbstractBlock;getDroppedStacks(Lnet/minecraft/block/BlockState;Lnet/minecraft/loot/context/LootContext$Builder;)Ljava/util/List;
    • getRenderingSeed

      @Deprecated public long getRenderingSeed(BlockState state, BlockPos pos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Lgh;)J
      intermediary method_9535 Lnet/minecraft/class_4970;method_9535(Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;)J
      named getRenderingSeed Lnet/minecraft/block/AbstractBlock;getRenderingSeed(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)J
    • getCullingShape

      @Deprecated public VoxelShape getCullingShape(BlockState state, BlockView world, BlockPos pos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official b_ Lcnu;b_(Lcnv;Lbzc;Lgh;)Ldos;
      intermediary method_9571 Lnet/minecraft/class_4970;method_9571(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;
      named getCullingShape Lnet/minecraft/block/AbstractBlock;getCullingShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
    • getSidesShape

      @Deprecated public VoxelShape getSidesShape(BlockState state, BlockView world, BlockPos pos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official f Lcnu;f(Lcnv;Lbzc;Lgh;)Ldos;
      intermediary method_25959 Lnet/minecraft/class_4970;method_25959(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;
      named getSidesShape Lnet/minecraft/block/AbstractBlock;getSidesShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
    • getRaycastShape

      @Deprecated public VoxelShape getRaycastShape(BlockState state, BlockView world, BlockPos pos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Lbzc;Lgh;)Ldos;
      intermediary method_9584 Lnet/minecraft/class_4970;method_9584(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;
      named getRaycastShape Lnet/minecraft/block/AbstractBlock;getRaycastShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
    • getOpacity

      @Deprecated public int getOpacity(BlockState state, BlockView world, BlockPos pos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official g Lcnu;g(Lcnv;Lbzc;Lgh;)I
      intermediary method_9505 Lnet/minecraft/class_4970;method_9505(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)I
      named getOpacity Lnet/minecraft/block/AbstractBlock;getOpacity(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)I
    • createScreenHandlerFactory

      @Nullable @Deprecated public @Nullable NamedScreenHandlerFactory createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official b Lcnu;b(Lcnv;Lbzw;Lgh;)Lavm;
      intermediary method_17454 Lnet/minecraft/class_4970;method_17454(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Lnet/minecraft/class_3908;
      named createScreenHandlerFactory Lnet/minecraft/block/AbstractBlock;createScreenHandlerFactory(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/screen/NamedScreenHandlerFactory;
    • canPlaceAt

      @Deprecated public boolean canPlaceAt(BlockState state, WorldView world, BlockPos pos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Lbzz;Lgh;)Z
      intermediary method_9558 Lnet/minecraft/class_4970;method_9558(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
      named canPlaceAt Lnet/minecraft/block/AbstractBlock;canPlaceAt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
    • getAmbientOcclusionLightLevel

      @Deprecated public float getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official b Lcnu;b(Lcnv;Lbzc;Lgh;)F
      intermediary method_9575 Lnet/minecraft/class_4970;method_9575(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)F
      named getAmbientOcclusionLightLevel Lnet/minecraft/block/AbstractBlock;getAmbientOcclusionLightLevel(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)F
    • getComparatorOutput

      @Deprecated public int getComparatorOutput(BlockState state, World world, BlockPos pos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Lbzw;Lgh;)I
      intermediary method_9572 Lnet/minecraft/class_4970;method_9572(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)I
      named getComparatorOutput Lnet/minecraft/block/AbstractBlock;getComparatorOutput(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)I
    • getOutlineShape

      @Deprecated public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Lbzc;Lgh;Ldoe;)Ldos;
      intermediary method_9530 Lnet/minecraft/class_4970;method_9530(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
      named getOutlineShape Lnet/minecraft/block/AbstractBlock;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
    • getCollisionShape

      @Deprecated public VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official c Lcnu;c(Lcnv;Lbzc;Lgh;Ldoe;)Ldos;
      intermediary method_9549 Lnet/minecraft/class_4970;method_9549(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
      named getCollisionShape Lnet/minecraft/block/AbstractBlock;getCollisionShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
    • isShapeFullCube

      @Deprecated public boolean isShapeFullCube(BlockState state, BlockView world, BlockPos pos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a_ Lcnu;a_(Lcnv;Lbzc;Lgh;)Z
      intermediary method_37403 Lnet/minecraft/class_4970;method_37403(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
      named isShapeFullCube Lnet/minecraft/block/AbstractBlock;isShapeFullCube(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • getCameraCollisionShape

      @Deprecated public VoxelShape getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official b Lcnu;b(Lcnv;Lbzc;Lgh;Ldoe;)Ldos;
      intermediary method_26159 Lnet/minecraft/class_4970;method_26159(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
      named getCameraCollisionShape Lnet/minecraft/block/AbstractBlock;getCameraCollisionShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
    • randomTick

      @Deprecated public void randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official b Lcnu;b(Lcnv;Ladc;Lgh;Ljava/util/Random;)V
      intermediary method_9514 Lnet/minecraft/class_4970;method_9514(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Ljava/util/Random;)V
      named randomTick Lnet/minecraft/block/AbstractBlock;randomTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
    • scheduledTick

      @Deprecated public void scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Ladc;Lgh;Ljava/util/Random;)V
      intermediary method_9588 Lnet/minecraft/class_4970;method_9588(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Ljava/util/Random;)V
      named scheduledTick Lnet/minecraft/block/AbstractBlock;scheduledTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
    • calcBlockBreakingDelta

      @Deprecated public float calcBlockBreakingDelta(BlockState state, PlayerEntity player, BlockView world, BlockPos pos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Lbnk;Lbzc;Lgh;)F
      intermediary method_9594 Lnet/minecraft/class_4970;method_9594(Lnet/minecraft/class_2680;Lnet/minecraft/class_1657;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)F
      named calcBlockBreakingDelta Lnet/minecraft/block/AbstractBlock;calcBlockBreakingDelta(Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)F
    • onStacksDropped

      @Deprecated public void onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Ladc;Lgh;Lbtx;)V
      intermediary method_9565 Lnet/minecraft/class_4970;method_9565(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_1799;)V
      named onStacksDropped Lnet/minecraft/block/AbstractBlock;onStacksDropped(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/ItemStack;)V
    • onBlockBreakStart

      @Deprecated public void onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Lbzw;Lgh;Lbnk;)V
      intermediary method_9606 Lnet/minecraft/class_4970;method_9606(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;)V
      named onBlockBreakStart Lnet/minecraft/block/AbstractBlock;onBlockBreakStart(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;)V
    • getWeakRedstonePower

      @Deprecated public int getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Lbzc;Lgh;Lgm;)I
      intermediary method_9524 Lnet/minecraft/class_4970;method_9524(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)I
      named getWeakRedstonePower Lnet/minecraft/block/AbstractBlock;getWeakRedstonePower(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
    • onEntityCollision

      @Deprecated public void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Lbzw;Lgh;Lawm;)V
      intermediary method_9548 Lnet/minecraft/class_4970;method_9548(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;)V
      named onEntityCollision Lnet/minecraft/block/AbstractBlock;onEntityCollision(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)V
    • getStrongRedstonePower

      @Deprecated public int getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official b Lcnu;b(Lcnv;Lbzc;Lgh;Lgm;)I
      intermediary method_9603 Lnet/minecraft/class_4970;method_9603(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)I
      named getStrongRedstonePower Lnet/minecraft/block/AbstractBlock;getStrongRedstonePower(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
    • getLootTableId

      public final Identifier getLootTableId()
      Mappings:
      Namespace Name Mixin selector
      official r Lcnu;r()Lyb;
      intermediary method_26162 Lnet/minecraft/class_4970;method_26162()Lnet/minecraft/class_2960;
      named getLootTableId Lnet/minecraft/block/AbstractBlock;getLootTableId()Lnet/minecraft/util/Identifier;
    • onProjectileHit

      @Deprecated public void onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lbzw;Lcnv;Ldnv;Lboa;)V
      intermediary method_19286 Lnet/minecraft/class_4970;method_19286(Lnet/minecraft/class_1937;Lnet/minecraft/class_2680;Lnet/minecraft/class_3965;Lnet/minecraft/class_1676;)V
      named onProjectileHit Lnet/minecraft/block/AbstractBlock;onProjectileHit(Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/hit/BlockHitResult;Lnet/minecraft/entity/projectile/ProjectileEntity;)V
    • asItem

      public abstract Item asItem()
      Mappings:
      Namespace Name Mixin selector
      official k Lcnu;k()Lbtt;
      intermediary method_8389 Lnet/minecraft/class_4970;method_8389()Lnet/minecraft/class_1792;
      named asItem Lnet/minecraft/block/AbstractBlock;asItem()Lnet/minecraft/item/Item;
    • asBlock

      protected abstract Block asBlock()
      Mappings:
      Namespace Name Mixin selector
      official p Lcnu;p()Lccr;
      intermediary method_26160 Lnet/minecraft/class_4970;method_26160()Lnet/minecraft/class_2248;
      named asBlock Lnet/minecraft/block/AbstractBlock;asBlock()Lnet/minecraft/block/Block;
    • getDefaultMapColor

      public MapColor getDefaultMapColor()
      Mappings:
      Namespace Name Mixin selector
      official s Lcnu;s()Ldhn;
      intermediary method_26403 Lnet/minecraft/class_4970;method_26403()Lnet/minecraft/class_3620;
      named getDefaultMapColor Lnet/minecraft/block/AbstractBlock;getDefaultMapColor()Lnet/minecraft/block/MapColor;
    • getHardness

      public float getHardness()
      Mappings:
      Namespace Name Mixin selector
      official t Lcnu;t()F
      intermediary method_36555 Lnet/minecraft/class_4970;method_36555()F
      named getHardness Lnet/minecraft/block/AbstractBlock;getHardness()F