Class AbstractBlock

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

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

    • DIRECTIONS

      protected static final Direction[] DIRECTIONS
      Mappings:
      Namespace Name Mixin selector
      official ar Lchs;ar:[Lgc;
      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 as Lchs;as:Ldap;
      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 at Lchs;at: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 au Lchs;au: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 av Lchs;av: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 aw Lchs;aw:Lcdg;
      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 ax Lchs;ax: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 ay Lchs;ay: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 az Lchs;az: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 aA Lchs;aA: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 aB Lchs;aB:Lchs$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 Identifier lootTableId
      Mappings:
      Namespace Name Mixin selector
      official aC Lchs;aC:Lwb;
      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> Lchs;<init>(Lchs$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 Lchs;a(Lcht;Lbtw;Lfx;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 Lchs;a(Lcht;Lbsz;Lfx;Ldcu;)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 Lchs;a(Lcht;Lgc;Lcht;Lbtw;Lfx;Lfx;)Lcht;
      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

      @Environment(CLIENT) @Deprecated public boolean isSideInvisible​(BlockState state, BlockState stateFrom, Direction direction)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lchs;a(Lcht;Lcht;Lgc;)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 Lchs;a(Lcht;Lbtv;Lfx;Lbwu;Lfx;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 Lchs;b(Lcht;Lbtv;Lfx;Lcht;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 Lchs;a(Lcht;Lbtv;Lfx;Lcht;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 Lchs;a(Lcht;Lbtv;Lfx;Lbhl;Lapp;Ldiq;)Lapq;
      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 Lchs;a(Lcht;Lbtv;Lfx;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 a_ Lchs;a_(Lcht;)Lccg;
      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 e_ Lchs;e_(Lcht;)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 d_ Lchs;d_(Lcht;)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 c Lchs;c(Lcht;)Ldar;
      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 d Lchs;d(Lcht;)Ldal;
      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 b Lchs;b(Lcht;)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 aj_ Lchs;aj_()Lchs$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 an_ Lchs;an_()F
      intermediary method_32913 Lnet/minecraft/class_4970;method_32913()F
      named getMaxModelOffset Lnet/minecraft/block/AbstractBlock;getMaxModelOffset()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 Lchs;a(Lcht;Lccm;)Lcht;
      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 Lchs;a(Lcht;Lcbb;)Lcht;
      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 Lchs;a(Lcht;Lbpv;)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 Lchs;a(Lcht;Ldak;)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 Lchs;a(Lcht;Ldei$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

      @Environment(CLIENT) @Deprecated public long getRenderingSeed​(BlockState state, BlockPos pos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lchs;a(Lcht;Lfx;)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 a_ Lchs;a_(Lcht;Lbsz;Lfx;)Ldjn;
      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 e Lchs;e(Lcht;Lbsz;Lfx;)Ldjn;
      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 Lchs;a(Lcht;Lbsz;Lfx;)Ldjn;
      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 f Lchs;f(Lcht;Lbsz;Lfx;)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 NamedScreenHandlerFactory createScreenHandlerFactory​(BlockState state, World world, BlockPos pos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official b Lchs;b(Lcht;Lbtv;Lfx;)Lapt;
      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 Lchs;a(Lcht;Lbty;Lfx;)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

      @Environment(CLIENT) @Deprecated public float getAmbientOcclusionLightLevel​(BlockState state, BlockView world, BlockPos pos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official b Lchs;b(Lcht;Lbsz;Lfx;)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 Lchs;a(Lcht;Lbtv;Lfx;)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 Lchs;a(Lcht;Lbsz;Lfx;Ldiz;)Ldjn;
      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 Lchs;c(Lcht;Lbsz;Lfx;Ldiz;)Ldjn;
      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;
    • getVisualShape

      @Deprecated public VoxelShape getVisualShape​(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official b Lchs;b(Lcht;Lbsz;Lfx;Ldiz;)Ldjn;
      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 getVisualShape Lnet/minecraft/block/AbstractBlock;getVisualShape(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 Lchs;b(Lcht;Laav;Lfx;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_ Lchs;a_(Lcht;Laav;Lfx;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 Lchs;a(Lcht;Lbhl;Lbsz;Lfx;)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 Lchs;a(Lcht;Laav;Lfx;Lbnv;)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 Lchs;a(Lcht;Lbtv;Lfx;Lbhl;)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 Lchs;a(Lcht;Lbsz;Lfx;Lgc;)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 Lchs;a(Lcht;Lbtv;Lfx;Laqv;)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 Lchs;b(Lcht;Lbsz;Lfx;Lgc;)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 q Lchs;q()Lwb;
      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 Lchs;a(Lbtv;Lcht;Ldiq;Lbib;)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 Lchs;k()Lbnr;
      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 Lchs;p()Lbwu;
      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 r Lchs;r()Ldaq;
      intermediary method_26403 Lnet/minecraft/class_4970;method_26403()Lnet/minecraft/class_3620;
      named getDefaultMapColor Lnet/minecraft/block/AbstractBlock;getDefaultMapColor()Lnet/minecraft/block/MapColor;