Package net.minecraft.block
Class AbstractBlock
java.lang.Object
net.minecraft.block.AbstractBlock
- Direct Known Subclasses:
Block
public abstract class AbstractBlock extends Object
- Mappings:
Namespace Name official chsintermediary net/minecraft/class_4970named net/minecraft/block/AbstractBlock
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractBlock.AbstractBlockStatestatic interfaceAbstractBlock.ContextPredicatestatic classAbstractBlock.OffsetTypestatic classAbstractBlock.Settingsstatic interfaceAbstractBlock.TypedContextPredicate<A> -
Field Summary
Fields Modifier and Type Field Description protected booleancollidableprotected static Direction[]DIRECTIONSprotected booleandynamicBoundsprotected floatjumpVelocityMultiplierprotected IdentifierlootTableIdprotected Materialmaterialprotected booleanrandomTicksprotected floatresistanceprotected AbstractBlock.Settingssettingsprotected floatslipperinessprotected BlockSoundGroupsoundGroupprotected floatvelocityMultiplier -
Constructor Summary
Constructors Constructor Description AbstractBlock(AbstractBlock.Settings settings) -
Method Summary
-
Field Details
-
DIRECTIONS
- Mappings:
Namespace Name Mixin selector official arLchs;ar:[Lgc;intermediary field_23157Lnet/minecraft/class_4970;field_23157:[Lnet/minecraft/class_2350;named DIRECTIONSLnet/minecraft/block/AbstractBlock;DIRECTIONS:[Lnet/minecraft/util/math/Direction;
-
material
- Mappings:
Namespace Name Mixin selector official asLchs;as:Ldap;intermediary field_23158Lnet/minecraft/class_4970;field_23158:Lnet/minecraft/class_3614;named materialLnet/minecraft/block/AbstractBlock;material:Lnet/minecraft/block/Material;
-
collidable
protected final boolean collidable- Mappings:
Namespace Name Mixin selector official atLchs;at:Zintermediary field_23159Lnet/minecraft/class_4970;field_23159:Znamed collidableLnet/minecraft/block/AbstractBlock;collidable:Z
-
resistance
protected final float resistance- Mappings:
Namespace Name Mixin selector official auLchs;au:Fintermediary field_23160Lnet/minecraft/class_4970;field_23160:Fnamed resistanceLnet/minecraft/block/AbstractBlock;resistance:F
-
randomTicks
protected final boolean randomTicks- Mappings:
Namespace Name Mixin selector official avLchs;av:Zintermediary field_23161Lnet/minecraft/class_4970;field_23161:Znamed randomTicksLnet/minecraft/block/AbstractBlock;randomTicks:Z
-
soundGroup
- Mappings:
Namespace Name Mixin selector official awLchs;aw:Lcdg;intermediary field_23162Lnet/minecraft/class_4970;field_23162:Lnet/minecraft/class_2498;named soundGroupLnet/minecraft/block/AbstractBlock;soundGroup:Lnet/minecraft/sound/BlockSoundGroup;
-
slipperiness
protected final float slipperiness- Mappings:
Namespace Name Mixin selector official axLchs;ax:Fintermediary field_23163Lnet/minecraft/class_4970;field_23163:Fnamed slipperinessLnet/minecraft/block/AbstractBlock;slipperiness:F
-
velocityMultiplier
protected final float velocityMultiplier- Mappings:
Namespace Name Mixin selector official ayLchs;ay:Fintermediary field_23164Lnet/minecraft/class_4970;field_23164:Fnamed velocityMultiplierLnet/minecraft/block/AbstractBlock;velocityMultiplier:F
-
jumpVelocityMultiplier
protected final float jumpVelocityMultiplier- Mappings:
Namespace Name Mixin selector official azLchs;az:Fintermediary field_23165Lnet/minecraft/class_4970;field_23165:Fnamed jumpVelocityMultiplierLnet/minecraft/block/AbstractBlock;jumpVelocityMultiplier:F
-
dynamicBounds
protected final boolean dynamicBounds- Mappings:
Namespace Name Mixin selector official aALchs;aA:Zintermediary field_23154Lnet/minecraft/class_4970;field_23154:Znamed dynamicBoundsLnet/minecraft/block/AbstractBlock;dynamicBounds:Z
-
settings
- Mappings:
Namespace Name Mixin selector official aBLchs;aB:Lchs$c;intermediary field_23155Lnet/minecraft/class_4970;field_23155:Lnet/minecraft/class_4970$class_2251;named settingsLnet/minecraft/block/AbstractBlock;settings:Lnet/minecraft/block/AbstractBlock$Settings;
-
lootTableId
- Mappings:
Namespace Name Mixin selector official aCLchs;aC:Lwb;intermediary field_23156Lnet/minecraft/class_4970;field_23156:Lnet/minecraft/class_2960;named lootTableIdLnet/minecraft/block/AbstractBlock;lootTableId:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
AbstractBlock
- Mappings:
Namespace Name Mixin selector official <init>Lchs;<init>(Lchs$c;)Vintermediary <init>Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)Vnamed <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 aLchs;a(Lcht;Lbtw;Lfx;II)Vintermediary method_9517Lnet/minecraft/class_4970;method_9517(Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;II)Vnamed prepareLnet/minecraft/block/AbstractBlock;prepare(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;II)V
-
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 blockdirection- the direction from this block to the neighborneighborState- the state of the updated neighbor blockworld- the worldpos- the position of this blockneighborPos- the position of the neighbor block- Returns:
- the new state of this block
- Mappings:
Namespace Name Mixin selector official aLchs;a(Lcht;Lgc;Lcht;Lbtw;Lfx;Lfx;)Lcht;intermediary method_9559Lnet/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 getStateForNeighborUpdateLnet/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 aLchs;a(Lcht;Lcht;Lgc;)Zintermediary method_9522Lnet/minecraft/class_4970;method_9522(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Znamed isSideInvisibleLnet/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 aLchs;a(Lcht;Lbtv;Lfx;Lbwu;Lfx;Z)Vintermediary method_9612Lnet/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)Vnamed neighborUpdateLnet/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 bLchs;b(Lcht;Lbtv;Lfx;Lcht;Z)Vintermediary method_9615Lnet/minecraft/class_4970;method_9615(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)Vnamed onBlockAddedLnet/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 inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate. Vanilla blocks perform removal cleanups here.- Mappings:
Namespace Name Mixin selector official aLchs;a(Lcht;Lbtv;Lfx;Lcht;Z)Vintermediary method_9536Lnet/minecraft/class_4970;method_9536(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)Vnamed onStateReplacedLnet/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 aLchs;a(Lcht;Lbtv;Lfx;Lbhl;Lapp;Ldiq;)Lapq;intermediary method_9534Lnet/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 onUseLnet/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 aLchs;a(Lcht;Lbtv;Lfx;II)Zintermediary method_9592Lnet/minecraft/class_4970;method_9592(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;II)Znamed onSyncedBlockEventLnet/minecraft/block/AbstractBlock;onSyncedBlockEvent(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;II)Z
-
getRenderType
Deprecated.- Mappings:
Namespace Name Mixin selector official a_Lchs;a_(Lcht;)Lccg;intermediary method_9604Lnet/minecraft/class_4970;method_9604(Lnet/minecraft/class_2680;)Lnet/minecraft/class_2464;named getRenderTypeLnet/minecraft/block/AbstractBlock;getRenderType(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockRenderType;
-
hasSidedTransparency
Deprecated.- Mappings:
Namespace Name Mixin selector official e_Lchs;e_(Lcht;)Zintermediary method_9526Lnet/minecraft/class_4970;method_9526(Lnet/minecraft/class_2680;)Znamed hasSidedTransparencyLnet/minecraft/block/AbstractBlock;hasSidedTransparency(Lnet/minecraft/block/BlockState;)Z
-
emitsRedstonePower
Deprecated.- Mappings:
Namespace Name Mixin selector official d_Lchs;d_(Lcht;)Zintermediary method_9506Lnet/minecraft/class_4970;method_9506(Lnet/minecraft/class_2680;)Znamed emitsRedstonePowerLnet/minecraft/block/AbstractBlock;emitsRedstonePower(Lnet/minecraft/block/BlockState;)Z
-
getPistonBehavior
Deprecated.- Mappings:
Namespace Name Mixin selector official cLchs;c(Lcht;)Ldar;intermediary method_9527Lnet/minecraft/class_4970;method_9527(Lnet/minecraft/class_2680;)Lnet/minecraft/class_3619;named getPistonBehaviorLnet/minecraft/block/AbstractBlock;getPistonBehavior(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/piston/PistonBehavior;
-
getFluidState
Deprecated.- Mappings:
Namespace Name Mixin selector official dLchs;d(Lcht;)Ldal;intermediary method_9545Lnet/minecraft/class_4970;method_9545(Lnet/minecraft/class_2680;)Lnet/minecraft/class_3610;named getFluidStateLnet/minecraft/block/AbstractBlock;getFluidState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/FluidState;
-
hasComparatorOutput
Deprecated.- Mappings:
Namespace Name Mixin selector official bLchs;b(Lcht;)Zintermediary method_9498Lnet/minecraft/class_4970;method_9498(Lnet/minecraft/class_2680;)Znamed hasComparatorOutputLnet/minecraft/block/AbstractBlock;hasComparatorOutput(Lnet/minecraft/block/BlockState;)Z
-
getOffsetType
- Mappings:
Namespace Name Mixin selector official aj_Lchs;aj_()Lchs$b;intermediary method_16841Lnet/minecraft/class_4970;method_16841()Lnet/minecraft/class_4970$class_2250;named getOffsetTypeLnet/minecraft/block/AbstractBlock;getOffsetType()Lnet/minecraft/block/AbstractBlock$OffsetType;
-
getMaxModelOffset
public float getMaxModelOffset()- Mappings:
Namespace Name Mixin selector official an_Lchs;an_()Fintermediary method_32913Lnet/minecraft/class_4970;method_32913()Fnamed getMaxModelOffsetLnet/minecraft/block/AbstractBlock;getMaxModelOffset()F
-
rotate
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 aLchs;a(Lcht;Lccm;)Lcht;intermediary method_9598Lnet/minecraft/class_4970;method_9598(Lnet/minecraft/class_2680;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2680;named rotateLnet/minecraft/block/AbstractBlock;rotate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
-
mirror
Deprecated.- Mappings:
Namespace Name Mixin selector official aLchs;a(Lcht;Lcbb;)Lcht;intermediary method_9569Lnet/minecraft/class_4970;method_9569(Lnet/minecraft/class_2680;Lnet/minecraft/class_2415;)Lnet/minecraft/class_2680;named mirrorLnet/minecraft/block/AbstractBlock;mirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
-
canReplace
Deprecated.- Mappings:
Namespace Name Mixin selector official aLchs;a(Lcht;Lbpv;)Zintermediary method_9616Lnet/minecraft/class_4970;method_9616(Lnet/minecraft/class_2680;Lnet/minecraft/class_1750;)Znamed canReplaceLnet/minecraft/block/AbstractBlock;canReplace(Lnet/minecraft/block/BlockState;Lnet/minecraft/item/ItemPlacementContext;)Z
-
canBucketPlace
Deprecated.- Mappings:
Namespace Name Mixin selector official aLchs;a(Lcht;Ldak;)Zintermediary method_22358Lnet/minecraft/class_4970;method_22358(Lnet/minecraft/class_2680;Lnet/minecraft/class_3611;)Znamed canBucketPlaceLnet/minecraft/block/AbstractBlock;canBucketPlace(Lnet/minecraft/block/BlockState;Lnet/minecraft/fluid/Fluid;)Z
-
getDroppedStacks
Deprecated.- Mappings:
Namespace Name Mixin selector official aLchs;a(Lcht;Ldei$a;)Ljava/util/List;intermediary method_9560Lnet/minecraft/class_4970;method_9560(Lnet/minecraft/class_2680;Lnet/minecraft/class_47$class_48;)Ljava/util/List;named getDroppedStacksLnet/minecraft/block/AbstractBlock;getDroppedStacks(Lnet/minecraft/block/BlockState;Lnet/minecraft/loot/context/LootContext$Builder;)Ljava/util/List;
-
getRenderingSeed
Deprecated.- Mappings:
Namespace Name Mixin selector official aLchs;a(Lcht;Lfx;)Jintermediary method_9535Lnet/minecraft/class_4970;method_9535(Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;)Jnamed getRenderingSeedLnet/minecraft/block/AbstractBlock;getRenderingSeed(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)J
-
getCullingShape
Deprecated.- Mappings:
Namespace Name Mixin selector official a_Lchs;a_(Lcht;Lbsz;Lfx;)Ldjn;intermediary method_9571Lnet/minecraft/class_4970;method_9571(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;named getCullingShapeLnet/minecraft/block/AbstractBlock;getCullingShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
-
getSidesShape
Deprecated.- Mappings:
Namespace Name Mixin selector official eLchs;e(Lcht;Lbsz;Lfx;)Ldjn;intermediary method_25959Lnet/minecraft/class_4970;method_25959(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;named getSidesShapeLnet/minecraft/block/AbstractBlock;getSidesShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
-
getRaycastShape
Deprecated.- Mappings:
Namespace Name Mixin selector official aLchs;a(Lcht;Lbsz;Lfx;)Ldjn;intermediary method_9584Lnet/minecraft/class_4970;method_9584(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;named getRaycastShapeLnet/minecraft/block/AbstractBlock;getRaycastShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
-
getOpacity
Deprecated.- Mappings:
Namespace Name Mixin selector official fLchs;f(Lcht;Lbsz;Lfx;)Iintermediary method_9505Lnet/minecraft/class_4970;method_9505(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Inamed getOpacityLnet/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 bLchs;b(Lcht;Lbtv;Lfx;)Lapt;intermediary method_17454Lnet/minecraft/class_4970;method_17454(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Lnet/minecraft/class_3908;named createScreenHandlerFactoryLnet/minecraft/block/AbstractBlock;createScreenHandlerFactory(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/screen/NamedScreenHandlerFactory;
-
canPlaceAt
Deprecated.- Mappings:
Namespace Name Mixin selector official aLchs;a(Lcht;Lbty;Lfx;)Zintermediary method_9558Lnet/minecraft/class_4970;method_9558(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Znamed canPlaceAtLnet/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 bLchs;b(Lcht;Lbsz;Lfx;)Fintermediary method_9575Lnet/minecraft/class_4970;method_9575(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Fnamed getAmbientOcclusionLightLevelLnet/minecraft/block/AbstractBlock;getAmbientOcclusionLightLevel(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)F
-
getComparatorOutput
Deprecated.- Mappings:
Namespace Name Mixin selector official aLchs;a(Lcht;Lbtv;Lfx;)Iintermediary method_9572Lnet/minecraft/class_4970;method_9572(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Inamed getComparatorOutputLnet/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 aLchs;a(Lcht;Lbsz;Lfx;Ldiz;)Ldjn;intermediary method_9530Lnet/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 getOutlineShapeLnet/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 cLchs;c(Lcht;Lbsz;Lfx;Ldiz;)Ldjn;intermediary method_9549Lnet/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 getCollisionShapeLnet/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 bLchs;b(Lcht;Lbsz;Lfx;Ldiz;)Ldjn;intermediary method_26159Lnet/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 getVisualShapeLnet/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 bLchs;b(Lcht;Laav;Lfx;Ljava/util/Random;)Vintermediary method_9514Lnet/minecraft/class_4970;method_9514(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Ljava/util/Random;)Vnamed randomTickLnet/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;)Vintermediary method_9588Lnet/minecraft/class_4970;method_9588(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Ljava/util/Random;)Vnamed scheduledTickLnet/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 aLchs;a(Lcht;Lbhl;Lbsz;Lfx;)Fintermediary method_9594Lnet/minecraft/class_4970;method_9594(Lnet/minecraft/class_2680;Lnet/minecraft/class_1657;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Fnamed calcBlockBreakingDeltaLnet/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 aLchs;a(Lcht;Laav;Lfx;Lbnv;)Vintermediary method_9565Lnet/minecraft/class_4970;method_9565(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_1799;)Vnamed onStacksDroppedLnet/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 aLchs;a(Lcht;Lbtv;Lfx;Lbhl;)Vintermediary method_9606Lnet/minecraft/class_4970;method_9606(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;)Vnamed onBlockBreakStartLnet/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 aLchs;a(Lcht;Lbsz;Lfx;Lgc;)Iintermediary method_9524Lnet/minecraft/class_4970;method_9524(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Inamed getWeakRedstonePowerLnet/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 aLchs;a(Lcht;Lbtv;Lfx;Laqv;)Vintermediary method_9548Lnet/minecraft/class_4970;method_9548(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;)Vnamed onEntityCollisionLnet/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 bLchs;b(Lcht;Lbsz;Lfx;Lgc;)Iintermediary method_9603Lnet/minecraft/class_4970;method_9603(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Inamed getStrongRedstonePowerLnet/minecraft/block/AbstractBlock;getStrongRedstonePower(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
-
getLootTableId
- Mappings:
Namespace Name Mixin selector official qLchs;q()Lwb;intermediary method_26162Lnet/minecraft/class_4970;method_26162()Lnet/minecraft/class_2960;named getLootTableIdLnet/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 aLchs;a(Lbtv;Lcht;Ldiq;Lbib;)Vintermediary method_19286Lnet/minecraft/class_4970;method_19286(Lnet/minecraft/class_1937;Lnet/minecraft/class_2680;Lnet/minecraft/class_3965;Lnet/minecraft/class_1676;)Vnamed onProjectileHitLnet/minecraft/block/AbstractBlock;onProjectileHit(Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/hit/BlockHitResult;Lnet/minecraft/entity/projectile/ProjectileEntity;)V
-
asItem
- Mappings:
Namespace Name Mixin selector official kLchs;k()Lbnr;intermediary method_8389Lnet/minecraft/class_4970;method_8389()Lnet/minecraft/class_1792;named asItemLnet/minecraft/block/AbstractBlock;asItem()Lnet/minecraft/item/Item;
-
asBlock
- Mappings:
Namespace Name Mixin selector official pLchs;p()Lbwu;intermediary method_26160Lnet/minecraft/class_4970;method_26160()Lnet/minecraft/class_2248;named asBlockLnet/minecraft/block/AbstractBlock;asBlock()Lnet/minecraft/block/Block;
-
getDefaultMapColor
- Mappings:
Namespace Name Mixin selector official rLchs;r()Ldaq;intermediary method_26403Lnet/minecraft/class_4970;method_26403()Lnet/minecraft/class_3620;named getDefaultMapColorLnet/minecraft/block/AbstractBlock;getDefaultMapColor()Lnet/minecraft/block/MapColor;
-