Class AbstractBlock
- Direct Known Subclasses:
Block
blocks
.
Deprecated methods in this class mean they
should only be called from the corresponding method in AbstractBlock.AbstractBlockState
or subclasses of this class. In vanilla subclasses,
these methods are called either to do the default behavior (e.g.
super.onUse(...)
) or to delegate logic to other blocks (e.g.
StairsBlock#randomTick
calls randomTick
of its base block).
It's fine to override them, as they are overridden by vanilla blocks.
- Mappings:
Namespace Name official cuq
intermediary net/minecraft/class_4970
named net/minecraft/block/AbstractBlock
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static interface
static enum
static class
static interface
-
Field Summary
Modifier and TypeFieldDescriptionprotected final boolean
protected static final Direction[]
protected final boolean
protected final float
protected @Nullable Identifier
protected final Material
protected final boolean
protected final float
protected final AbstractBlock.Settings
protected final float
protected final BlockSoundGroup
protected final float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Block
asBlock()
abstract Item
asItem()
float
calcBlockBreakingDelta
(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) Deprecated.boolean
canBucketPlace
(BlockState state, Fluid fluid) Deprecated.Consider callingAbstractBlock.AbstractBlockState.canBucketPlace(net.minecraft.fluid.Fluid)
instead.boolean
canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Deprecated.boolean
canReplace
(BlockState state, ItemPlacementContext context) Deprecated.Consider callingAbstractBlock.AbstractBlockState.canReplace(net.minecraft.item.ItemPlacementContext)
instead.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Deprecated.boolean
emitsRedstonePower
(BlockState state) Deprecated.Consider callingAbstractBlock.AbstractBlockState.emitsRedstonePower()
instead.float
getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) Deprecated.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) Deprecated.Consider callingAbstractBlock.AbstractBlockState.getCollisionShape(BlockView, BlockPos, ShapeContext)
instead.int
getComparatorOutput
(BlockState state, World world, BlockPos pos) Deprecated.getCullingShape
(BlockState state, BlockView world, BlockPos pos) Deprecated.getDroppedStacks
(BlockState state, LootContext.Builder builder) Deprecated.Consider callingAbstractBlock.AbstractBlockState.getDroppedStacks(net.minecraft.loot.context.LootContext.Builder)
instead.getFluidState
(BlockState state) Deprecated.Consider callingAbstractBlock.AbstractBlockState.getFluidState()
instead.float
final Identifier
float
int
getOpacity
(BlockState state, BlockView world, BlockPos pos) Deprecated.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) Deprecated.Consider callingAbstractBlock.AbstractBlockState.getOutlineShape(BlockView, BlockPos, ShapeContext)
instead.getPistonBehavior
(BlockState state) Deprecated.Consider callingAbstractBlock.AbstractBlockState.getPistonBehavior()
instead.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) Deprecated.long
getRenderingSeed
(BlockState state, BlockPos pos) Deprecated.Consider callingAbstractBlock.AbstractBlockState.getRenderingSeed(net.minecraft.util.math.BlockPos)
instead.getRenderType
(BlockState state) Deprecated.Consider callingAbstractBlock.AbstractBlockState.getRenderType()
instead.getSidesShape
(BlockState state, BlockView world, BlockPos pos) Deprecated.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) int
getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) float
int
getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) boolean
hasComparatorOutput
(BlockState state) Deprecated.Consider callingAbstractBlock.AbstractBlockState.hasComparatorOutput()
instead.boolean
hasSidedTransparency
(BlockState state) Deprecated.Consider callingAbstractBlock.AbstractBlockState.hasSidedTransparency
instead.boolean
isCullingShapeFullCube
(BlockState state, BlockView world, BlockPos pos) Deprecated.boolean
isShapeFullCube
(BlockState state, BlockView world, BlockPos pos) Deprecated.boolean
isSideInvisible
(BlockState state, BlockState stateFrom, Direction direction) Deprecated.mirror
(BlockState state, BlockMirror mirror) Deprecated.Consider callingAbstractBlock.AbstractBlockState.mirror(net.minecraft.util.BlockMirror)
instead.void
neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Deprecated.void
onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) void
onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Deprecated.void
onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) void
onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Deprecated.boolean
onSyncedBlockEvent
(BlockState state, World world, BlockPos pos, int type, int data) Deprecated.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) void
prepare
(BlockState state, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) Deprecated.Consider callingAbstractBlock.AbstractBlockState.prepare(WorldAccess, BlockPos, int, int)
instead.void
randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) rotate
(BlockState state, BlockRotation rotation) Deprecated.Consider callingAbstractBlock.AbstractBlockState.rotate(net.minecraft.util.BlockRotation)
instead.void
scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random)
-
Field Details
-
DIRECTIONS
- Mappings:
Namespace Name Mixin selector official aE
Lcuq;aE:[Lgy;
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
- Mappings:
Namespace Name Mixin selector official aF
Lcuq;aF:Ldpc;
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 aG
Lcuq;aG: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 aH
Lcuq;aH: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 aI
Lcuq;aI:Z
intermediary field_23161
Lnet/minecraft/class_4970;field_23161:Z
named randomTicks
Lnet/minecraft/block/AbstractBlock;randomTicks:Z
-
soundGroup
- Mappings:
Namespace Name Mixin selector official aJ
Lcuq;aJ:Lcpz;
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 aK
Lcuq;aK: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 aL
Lcuq;aL: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 aM
Lcuq;aM: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 aN
Lcuq;aN:Z
intermediary field_23154
Lnet/minecraft/class_4970;field_23154:Z
named dynamicBounds
Lnet/minecraft/block/AbstractBlock;dynamicBounds:Z
-
settings
- Mappings:
Namespace Name Mixin selector official aO
Lcuq;aO:Lcuq$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
- Mappings:
Namespace Name Mixin selector official aP
Lcuq;aP:Laaj;
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
- Mappings:
Namespace Name Mixin selector official <init>
Lcuq;<init>(Lcuq$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.Consider callingAbstractBlock.AbstractBlockState.prepare(WorldAccess, BlockPos, int, int)
instead. See the class javadoc.- Mappings:
Namespace Name Mixin selector official a
Lcuq;a(Lcur;Lcgb;Lgt;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
-
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 a
Lcuq;a(Lcur;Lgy;Lcur;Lcgb;Lgt;Lgt;)Lcur;
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
Lcuq;a(Lcur;Lcur;Lgy;)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 sourceBlock, BlockPos sourcePos, boolean notify) Deprecated.- Mappings:
Namespace Name Mixin selector official a
Lcuq;a(Lcur;Lcga;Lgt;Lciw;Lgt;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
Lcuq;b(Lcur;Lcga;Lgt;Lcur;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 inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
. Vanilla blocks perform removal cleanups here.- Mappings:
Namespace Name Mixin selector official a
Lcuq;a(Lcur;Lcga;Lgt;Lcur;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
Lcuq;a(Lcur;Lcga;Lgt;Lbtf;Lazl;Ldvp;)Lazm;
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
Lcuq;a(Lcur;Lcga;Lgt;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.Consider callingAbstractBlock.AbstractBlockState.getRenderType()
instead. See the class javadoc.- Mappings:
Namespace Name Mixin selector official b_
Lcuq;b_(Lcur;)Lcos;
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.Consider callingAbstractBlock.AbstractBlockState.hasSidedTransparency
instead. See the class javadoc.- Mappings:
Namespace Name Mixin selector official g_
Lcuq;g_(Lcur;)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.Consider callingAbstractBlock.AbstractBlockState.emitsRedstonePower()
instead. See the class javadoc.- Mappings:
Namespace Name Mixin selector official f_
Lcuq;f_(Lcur;)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.Consider callingAbstractBlock.AbstractBlockState.getPistonBehavior()
instead. See the class javadoc.- Mappings:
Namespace Name Mixin selector official d
Lcuq;d(Lcur;)Ldpe;
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.Consider callingAbstractBlock.AbstractBlockState.getFluidState()
instead. See the class javadoc.- Mappings:
Namespace Name Mixin selector official c_
Lcuq;c_(Lcur;)Ldoy;
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.Consider callingAbstractBlock.AbstractBlockState.hasComparatorOutput()
instead. See the class javadoc.- Mappings:
Namespace Name Mixin selector official d_
Lcuq;d_(Lcur;)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
-
getMaxHorizontalModelOffset
public float getMaxHorizontalModelOffset()- Mappings:
Namespace Name Mixin selector official W_
Lcuq;W_()F
intermediary method_32913
Lnet/minecraft/class_4970;method_32913()F
named getMaxHorizontalModelOffset
Lnet/minecraft/block/AbstractBlock;getMaxHorizontalModelOffset()F
-
getVerticalModelOffsetMultiplier
public float getVerticalModelOffsetMultiplier()- Mappings:
Namespace Name Mixin selector official aa_
Lcuq;aa_()F
intermediary method_37247
Lnet/minecraft/class_4970;method_37247()F
named getVerticalModelOffsetMultiplier
Lnet/minecraft/block/AbstractBlock;getVerticalModelOffsetMultiplier()F
-
rotate
Deprecated.Consider callingAbstractBlock.AbstractBlockState.rotate(net.minecraft.util.BlockRotation)
instead. See the class javadoc.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
Lcuq;a(Lcur;Lcoz;)Lcur;
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.Consider callingAbstractBlock.AbstractBlockState.mirror(net.minecraft.util.BlockMirror)
instead. See the class javadoc.- Mappings:
Namespace Name Mixin selector official a
Lcuq;a(Lcur;Lcnk;)Lcur;
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.Consider callingAbstractBlock.AbstractBlockState.canReplace(net.minecraft.item.ItemPlacementContext)
instead. See the class javadoc.- Mappings:
Namespace Name Mixin selector official a
Lcuq;a(Lcur;Lcca;)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.Consider callingAbstractBlock.AbstractBlockState.canBucketPlace(net.minecraft.fluid.Fluid)
instead. See the class javadoc.- Mappings:
Namespace Name Mixin selector official a
Lcuq;a(Lcur;Ldox;)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.Consider callingAbstractBlock.AbstractBlockState.getDroppedStacks(net.minecraft.loot.context.LootContext.Builder)
instead. See the class javadoc.- Mappings:
Namespace Name Mixin selector official a
Lcuq;a(Lcur;Ldrg$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.Consider callingAbstractBlock.AbstractBlockState.getRenderingSeed(net.minecraft.util.math.BlockPos)
instead. See the class javadoc.- Mappings:
Namespace Name Mixin selector official a
Lcuq;a(Lcur;Lgt;)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.- Mappings:
Namespace Name Mixin selector official b_
Lcuq;b_(Lcur;Lcfg;Lgt;)Ldwm;
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.Consider callingAbstractBlock.AbstractBlockState.getSidesShape(net.minecraft.world.BlockView, net.minecraft.util.math.BlockPos)
instead. See the class javadoc.- Mappings:
Namespace Name Mixin selector official f
Lcuq;f(Lcur;Lcfg;Lgt;)Ldwm;
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.- Mappings:
Namespace Name Mixin selector official a
Lcuq;a(Lcur;Lcfg;Lgt;)Ldwm;
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.Consider callingAbstractBlock.AbstractBlockState.getOpacity(net.minecraft.world.BlockView, net.minecraft.util.math.BlockPos)
instead. See the class javadoc.- Mappings:
Namespace Name Mixin selector official g
Lcuq;g(Lcur;Lcfg;Lgt;)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
Lcuq;b(Lcur;Lcga;Lgt;)Lazp;
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.Consider callingAbstractBlock.AbstractBlockState.canPlaceAt(net.minecraft.world.WorldView, net.minecraft.util.math.BlockPos)
instead. See the class javadoc.- Mappings:
Namespace Name Mixin selector official a
Lcuq;a(Lcur;Lcgd;Lgt;)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
Lcuq;b(Lcur;Lcfg;Lgt;)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.- Mappings:
Namespace Name Mixin selector official a
Lcuq;a(Lcur;Lcga;Lgt;)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.Consider callingAbstractBlock.AbstractBlockState.getOutlineShape(BlockView, BlockPos, ShapeContext)
instead. See the class javadoc.- Mappings:
Namespace Name Mixin selector official a
Lcuq;a(Lcur;Lcfg;Lgt;Ldvy;)Ldwm;
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.Consider callingAbstractBlock.AbstractBlockState.getCollisionShape(BlockView, BlockPos, ShapeContext)
instead. See the class javadoc.- Mappings:
Namespace Name Mixin selector official c
Lcuq;c(Lcur;Lcfg;Lgt;Ldvy;)Ldwm;
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.Consider callingAbstractBlock.AbstractBlockState.isFullCube(net.minecraft.world.BlockView, net.minecraft.util.math.BlockPos)
instead. See the class javadoc.- Mappings:
Namespace Name Mixin selector official a_
Lcuq;a_(Lcur;Lcfg;Lgt;)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
-
isCullingShapeFullCube
Deprecated.- Mappings:
Namespace Name Mixin selector official h
Lcuq;h(Lcur;Lcfg;Lgt;)Z
intermediary method_42326
Lnet/minecraft/class_4970;method_42326(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
named isCullingShapeFullCube
Lnet/minecraft/block/AbstractBlock;isCullingShapeFullCube(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
Lcuq;b(Lcur;Lcfg;Lgt;Ldvy;)Ldwm;
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
Lcuq;b(Lcur;Lafo;Lgt;Lalu;)V
intermediary method_9514
Lnet/minecraft/class_4970;method_9514(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V
named randomTick
Lnet/minecraft/block/AbstractBlock;randomTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)V
-
scheduledTick
@Deprecated public void scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Deprecated.- Mappings:
Namespace Name Mixin selector official a
Lcuq;a(Lcur;Lafo;Lgt;Lalu;)V
intermediary method_9588
Lnet/minecraft/class_4970;method_9588(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V
named scheduledTick
Lnet/minecraft/block/AbstractBlock;scheduledTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)V
-
calcBlockBreakingDelta
@Deprecated public float calcBlockBreakingDelta(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) Deprecated.- Mappings:
Namespace Name Mixin selector official a
Lcuq;a(Lcur;Lbtf;Lcfg;Lgt;)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, boolean dropExperience) Deprecated.- Mappings:
Namespace Name Mixin selector official a
Lcuq;a(Lcur;Lafo;Lgt;Lcaa;Z)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;Z)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;Z)V
-
onBlockBreakStart
@Deprecated public void onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) Deprecated.- Mappings:
Namespace Name Mixin selector official a
Lcuq;a(Lcur;Lcga;Lgt;Lbtf;)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
Lcuq;a(Lcur;Lcfg;Lgt;Lgy;)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
Lcuq;a(Lcur;Lcga;Lgt;Lbaq;)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
Lcuq;b(Lcur;Lcfg;Lgt;Lgy;)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
- Mappings:
Namespace Name Mixin selector official r
Lcuq;r()Laaj;
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
Lcuq;a(Lcga;Lcur;Ldvp;Lbtx;)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
- Mappings:
Namespace Name Mixin selector official l
Lcuq;l()Lbzw;
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
- Mappings:
Namespace Name Mixin selector official o
Lcuq;o()Lciw;
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
- Mappings:
Namespace Name Mixin selector official s
Lcuq;s()Ldpd;
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
Lcuq;t()F
intermediary method_36555
Lnet/minecraft/class_4970;method_36555()F
named getHardness
Lnet/minecraft/block/AbstractBlock;getHardness()F
-
AbstractBlock.AbstractBlockState.calcBlockBreakingDelta(net.minecraft.entity.player.PlayerEntity, net.minecraft.world.BlockView, net.minecraft.util.math.BlockPos)
instead.