Package net.minecraft.block
Class AbstractBlock
java.lang.Object
net.minecraft.block.AbstractBlock
- Direct Known Subclasses:
Block
- Mappings:
Namespace Name official cob
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.boolean
canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Deprecated.boolean
canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Deprecated.boolean
canReplace
(BlockState state, ItemPlacementContext context) Deprecated.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Deprecated.boolean
emitsRedstonePower
(BlockState state) Deprecated.float
getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) Deprecated.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) Deprecated.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) Deprecated.int
getComparatorOutput
(BlockState state, World world, BlockPos pos) Deprecated.getCullingShape
(BlockState state, BlockView world, BlockPos pos) Deprecated.getDroppedStacks
(BlockState state, LootContext.Builder builder) Deprecated.getFluidState
(BlockState state) Deprecated.float
final Identifier
float
int
getOpacity
(BlockState state, BlockView world, BlockPos pos) Deprecated.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) Deprecated.getPistonBehavior
(BlockState state) Deprecated.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) Deprecated.long
getRenderingSeed
(BlockState state, BlockPos pos) Deprecated.getRenderType
(BlockState state) Deprecated.getSidesShape
(BlockState state, BlockView world, BlockPos pos) Deprecated.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Deprecated.int
getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Deprecated.float
int
getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Deprecated.boolean
hasComparatorOutput
(BlockState state) Deprecated.boolean
hasSidedTransparency
(BlockState state) 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.void
neighborUpdate
(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify) Deprecated.void
onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Deprecated.void
onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) Deprecated.void
onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Deprecated.void
onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Deprecated.void
onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack) Deprecated.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) Deprecated.void
prepare
(BlockState state, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) Deprecated.void
randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Deprecated.rotate
(BlockState state, BlockRotation rotation) Deprecated.void
scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Deprecated.
-
Field Details
-
DIRECTIONS
- Mappings:
Namespace Name Mixin selector official aF
Lcob;aF:[Lgm;
intermediary field_23157
Lnet/minecraft/class_4970;field_23157:[Lnet/minecraft/class_2350;
named DIRECTIONS
Lnet/minecraft/block/AbstractBlock;DIRECTIONS:[Lnet/minecraft/util/math/Direction;
-
material
- Mappings:
Namespace Name Mixin selector official aG
Lcob;aG:Ldhz;
intermediary field_23158
Lnet/minecraft/class_4970;field_23158:Lnet/minecraft/class_3614;
named material
Lnet/minecraft/block/AbstractBlock;material:Lnet/minecraft/block/Material;
-
collidable
protected final boolean collidable- Mappings:
Namespace Name Mixin selector official aH
Lcob;aH:Z
intermediary field_23159
Lnet/minecraft/class_4970;field_23159:Z
named collidable
Lnet/minecraft/block/AbstractBlock;collidable:Z
-
resistance
protected final float resistance- Mappings:
Namespace Name Mixin selector official aI
Lcob;aI:F
intermediary field_23160
Lnet/minecraft/class_4970;field_23160:F
named resistance
Lnet/minecraft/block/AbstractBlock;resistance:F
-
randomTicks
protected final boolean randomTicks- Mappings:
Namespace Name Mixin selector official aJ
Lcob;aJ: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 aK
Lcob;aK:Lcjo;
intermediary field_23162
Lnet/minecraft/class_4970;field_23162:Lnet/minecraft/class_2498;
named soundGroup
Lnet/minecraft/block/AbstractBlock;soundGroup:Lnet/minecraft/sound/BlockSoundGroup;
-
slipperiness
protected final float slipperiness- Mappings:
Namespace Name Mixin selector official aL
Lcob;aL:F
intermediary field_23163
Lnet/minecraft/class_4970;field_23163:F
named slipperiness
Lnet/minecraft/block/AbstractBlock;slipperiness:F
-
velocityMultiplier
protected final float velocityMultiplier- Mappings:
Namespace Name Mixin selector official aM
Lcob;aM:F
intermediary field_23164
Lnet/minecraft/class_4970;field_23164:F
named velocityMultiplier
Lnet/minecraft/block/AbstractBlock;velocityMultiplier:F
-
jumpVelocityMultiplier
protected final float jumpVelocityMultiplier- Mappings:
Namespace Name Mixin selector official aN
Lcob;aN:F
intermediary field_23165
Lnet/minecraft/class_4970;field_23165:F
named jumpVelocityMultiplier
Lnet/minecraft/block/AbstractBlock;jumpVelocityMultiplier:F
-
dynamicBounds
protected final boolean dynamicBounds- Mappings:
Namespace Name Mixin selector official aO
Lcob;aO: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 aP
Lcob;aP:Lcob$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 aQ
Lcob;aQ:Lyh;
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>
Lcob;<init>(Lcob$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
Lcob;a(Lcoc;Lcae;Lgh;II)V
intermediary method_9517
Lnet/minecraft/class_4970;method_9517(Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;II)V
named prepare
Lnet/minecraft/block/AbstractBlock;prepare(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;II)V
-
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
Lcob;a(Lcoc;Lgm;Lcoc;Lcae;Lgh;Lgh;)Lcoc;
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
Lcob;a(Lcoc;Lcoc;Lgm;)Z
intermediary method_9522
Lnet/minecraft/class_4970;method_9522(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Z
named isSideInvisible
Lnet/minecraft/block/AbstractBlock;isSideInvisible(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
-
neighborUpdate
@Deprecated public void neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify) Deprecated.- Mappings:
Namespace Name Mixin selector official a
Lcob;a(Lcoc;Lcad;Lgh;Lccy;Lgh;Z)V
intermediary method_9612
Lnet/minecraft/class_4970;method_9612(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;Z)V
named neighborUpdate
Lnet/minecraft/block/AbstractBlock;neighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;Z)V
-
onBlockAdded
@Deprecated public void onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Deprecated.- Mappings:
Namespace Name Mixin selector official b
Lcob;b(Lcoc;Lcad;Lgh;Lcoc;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
Lcob;a(Lcoc;Lcad;Lgh;Lcoc;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
Lcob;a(Lcoc;Lcad;Lgh;Lbnr;Lavp;Ldoi;)Lavq;
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
Lcob;a(Lcoc;Lcad;Lgh;II)Z
intermediary method_9592
Lnet/minecraft/class_4970;method_9592(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;II)Z
named onSyncedBlockEvent
Lnet/minecraft/block/AbstractBlock;onSyncedBlockEvent(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;II)Z
-
getRenderType
Deprecated.- Mappings:
Namespace Name Mixin selector official b_
Lcob;b_(Lcoc;)Lcin;
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.- Mappings:
Namespace Name Mixin selector official g_
Lcob;g_(Lcoc;)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.- Mappings:
Namespace Name Mixin selector official f_
Lcob;f_(Lcoc;)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.- Mappings:
Namespace Name Mixin selector official d
Lcob;d(Lcoc;)Ldib;
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.- Mappings:
Namespace Name Mixin selector official c_
Lcob;c_(Lcoc;)Ldhv;
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.- Mappings:
Namespace Name Mixin selector official d_
Lcob;d_(Lcoc;)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
- Mappings:
Namespace Name Mixin selector official T_
Lcob;T_()Lcob$b;
intermediary method_16841
Lnet/minecraft/class_4970;method_16841()Lnet/minecraft/class_4970$class_2250;
named getOffsetType
Lnet/minecraft/block/AbstractBlock;getOffsetType()Lnet/minecraft/block/AbstractBlock$OffsetType;
-
getMaxModelOffset
public float getMaxModelOffset()- Mappings:
Namespace Name Mixin selector official V_
Lcob;V_()F
intermediary method_32913
Lnet/minecraft/class_4970;method_32913()F
named getMaxModelOffset
Lnet/minecraft/block/AbstractBlock;getMaxModelOffset()F
-
getVerticalModelOffsetMultiplier
public float getVerticalModelOffsetMultiplier()- Mappings:
Namespace Name Mixin selector official Y_
Lcob;Y_()F
intermediary method_37247
Lnet/minecraft/class_4970;method_37247()F
named getVerticalModelOffsetMultiplier
Lnet/minecraft/block/AbstractBlock;getVerticalModelOffsetMultiplier()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 a
Lcob;a(Lcoc;Lciu;)Lcoc;
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.- Mappings:
Namespace Name Mixin selector official a
Lcob;a(Lcoc;Lchh;)Lcoc;
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.- Mappings:
Namespace Name Mixin selector official a
Lcob;a(Lcoc;Lbwe;)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.- Mappings:
Namespace Name Mixin selector official a
Lcob;a(Lcoc;Ldhu;)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.- Mappings:
Namespace Name Mixin selector official a
Lcob;a(Lcoc;Ldka$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.- Mappings:
Namespace Name Mixin selector official a
Lcob;a(Lcoc;Lgh;)J
intermediary method_9535
Lnet/minecraft/class_4970;method_9535(Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;)J
named getRenderingSeed
Lnet/minecraft/block/AbstractBlock;getRenderingSeed(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)J
-
getCullingShape
Deprecated.- Mappings:
Namespace Name Mixin selector official b_
Lcob;b_(Lcoc;Lbzj;Lgh;)Ldpf;
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.- Mappings:
Namespace Name Mixin selector official f
Lcob;f(Lcoc;Lbzj;Lgh;)Ldpf;
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
Lcob;a(Lcoc;Lbzj;Lgh;)Ldpf;
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.- Mappings:
Namespace Name Mixin selector official g
Lcob;g(Lcoc;Lbzj;Lgh;)I
intermediary method_9505
Lnet/minecraft/class_4970;method_9505(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)I
named getOpacity
Lnet/minecraft/block/AbstractBlock;getOpacity(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)I
-
createScreenHandlerFactory
@Nullable @Deprecated public @Nullable NamedScreenHandlerFactory createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Deprecated.- Mappings:
Namespace Name Mixin selector official b
Lcob;b(Lcoc;Lcad;Lgh;)Lavt;
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.- Mappings:
Namespace Name Mixin selector official a
Lcob;a(Lcoc;Lcag;Lgh;)Z
intermediary method_9558
Lnet/minecraft/class_4970;method_9558(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
named canPlaceAt
Lnet/minecraft/block/AbstractBlock;canPlaceAt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-
getAmbientOcclusionLightLevel
@Deprecated public float getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos) Deprecated.- Mappings:
Namespace Name Mixin selector official b
Lcob;b(Lcoc;Lbzj;Lgh;)F
intermediary method_9575
Lnet/minecraft/class_4970;method_9575(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)F
named getAmbientOcclusionLightLevel
Lnet/minecraft/block/AbstractBlock;getAmbientOcclusionLightLevel(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)F
-
getComparatorOutput
Deprecated.- Mappings:
Namespace Name Mixin selector official a
Lcob;a(Lcoc;Lcad;Lgh;)I
intermediary method_9572
Lnet/minecraft/class_4970;method_9572(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)I
named getComparatorOutput
Lnet/minecraft/block/AbstractBlock;getComparatorOutput(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)I
-
getOutlineShape
@Deprecated public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) Deprecated.- Mappings:
Namespace Name Mixin selector official a
Lcob;a(Lcoc;Lbzj;Lgh;Ldor;)Ldpf;
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
Lcob;c(Lcoc;Lbzj;Lgh;Ldor;)Ldpf;
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.- Mappings:
Namespace Name Mixin selector official a_
Lcob;a_(Lcoc;Lbzj;Lgh;)Z
intermediary method_37403
Lnet/minecraft/class_4970;method_37403(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
named isShapeFullCube
Lnet/minecraft/block/AbstractBlock;isShapeFullCube(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
-
getCameraCollisionShape
@Deprecated public VoxelShape getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) Deprecated.- Mappings:
Namespace Name Mixin selector official b
Lcob;b(Lcoc;Lbzj;Lgh;Ldor;)Ldpf;
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
Lcob;b(Lcoc;Ladi;Lgh;Ljava/util/Random;)V
intermediary method_9514
Lnet/minecraft/class_4970;method_9514(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Ljava/util/Random;)V
named randomTick
Lnet/minecraft/block/AbstractBlock;randomTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
-
scheduledTick
@Deprecated public void scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Deprecated.- Mappings:
Namespace Name Mixin selector official a
Lcob;a(Lcoc;Ladi;Lgh;Ljava/util/Random;)V
intermediary method_9588
Lnet/minecraft/class_4970;method_9588(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Ljava/util/Random;)V
named scheduledTick
Lnet/minecraft/block/AbstractBlock;scheduledTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
-
calcBlockBreakingDelta
@Deprecated public float calcBlockBreakingDelta(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) Deprecated.- Mappings:
Namespace Name Mixin selector official a
Lcob;a(Lcoc;Lbnr;Lbzj;Lgh;)F
intermediary method_9594
Lnet/minecraft/class_4970;method_9594(Lnet/minecraft/class_2680;Lnet/minecraft/class_1657;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)F
named calcBlockBreakingDelta
Lnet/minecraft/block/AbstractBlock;calcBlockBreakingDelta(Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)F
-
onStacksDropped
@Deprecated public void onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack) Deprecated.- Mappings:
Namespace Name Mixin selector official a
Lcob;a(Lcoc;Ladi;Lgh;Lbue;)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
Lcob;a(Lcoc;Lcad;Lgh;Lbnr;)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
Lcob;a(Lcoc;Lbzj;Lgh;Lgm;)I
intermediary method_9524
Lnet/minecraft/class_4970;method_9524(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)I
named getWeakRedstonePower
Lnet/minecraft/block/AbstractBlock;getWeakRedstonePower(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
-
onEntityCollision
@Deprecated public void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Deprecated.- Mappings:
Namespace Name Mixin selector official a
Lcob;a(Lcoc;Lcad;Lgh;Lawt;)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
Lcob;b(Lcoc;Lbzj;Lgh;Lgm;)I
intermediary method_9603
Lnet/minecraft/class_4970;method_9603(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)I
named getStrongRedstonePower
Lnet/minecraft/block/AbstractBlock;getStrongRedstonePower(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
-
getLootTableId
- Mappings:
Namespace Name Mixin selector official r
Lcob;r()Lyh;
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
Lcob;a(Lcad;Lcoc;Ldoi;Lboh;)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 k
Lcob;k()Lbua;
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 p
Lcob;p()Lccy;
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
Lcob;s()Ldia;
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
Lcob;t()F
intermediary method_36555
Lnet/minecraft/class_4970;method_36555()F
named getHardness
Lnet/minecraft/block/AbstractBlock;getHardness()F
-