Class Block
- All Implemented Interfaces:
ItemConvertible
- Direct Known Subclasses:
AbstractCandleBlock,AbstractCauldronBlock,AbstractFireBlock,AbstractPlantPartBlock,AbstractPressurePlateBlock,AbstractRailBlock,AirBlock,AmethystBlock,BambooBlock,BambooSaplingBlock,BarrierBlock,BlockWithEntity,BubbleColumnBlock,CactusBlock,CakeBlock,CarpetBlock,CartographyTableBlock,ChorusFlowerBlock,CobwebBlock,ComposterBlock,ConnectingBlock,CoralBlockBlock,CoralParentBlock,CraftingTableBlock,CryingObsidianBlock,DirtPathBlock,DoorBlock,EndPortalFrameBlock,FacingBlock,FallingBlock,FarmlandBlock,FlowerPotBlock,FluidBlock,FrogspawnBlock,GourdBlock,HangingRootsBlock,HorizontalConnectingBlock,HorizontalFacingBlock,InfestedBlock,JigsawBlock,LadderBlock,LanternBlock,LeavesBlock,LightBlock,MagmaBlock,MangroveRootsBlock,MossBlock,MudBlock,MultifaceGrowthBlock,MushroomBlock,NetherPortalBlock,NetherrackBlock,NoteBlock,NyliumBlock,OreBlock,OxidizableBlock,PillarBlock,PlantBlock,PointedDripstoneBlock,PowderSnowBlock,RedstoneBlock,RedstoneLampBlock,RedstoneOreBlock,RedstoneWireBlock,RespawnAnchorBlock,RootedDirtBlock,ScaffoldingBlock,SlabBlock,SnowBlock,SnowyBlock,SoulSandBlock,SpongeBlock,SporeBlossomBlock,StairsBlock,StonecutterBlock,StructureVoidBlock,SugarCaneBlock,TargetBlock,TntBlock,TorchBlock,TransparentBlock,TripwireBlock,TripwireHookBlock,TurtleEggBlock,VineBlock,WallBlock,WetSpongeBlock
AbstractBlock,
this class, and its subclasses define all logic for those voxels.
There is exactly one instance for every type of block. Every stone
block for example in a world shares the same block instance. Each block
instance is registered under Registry.BLOCK.
See Blocks for examples of block instances.
An item corresponding to a block is not automatically created. You
may create your own BlockItem and register it
under Registry.ITEM.
The translation key for the block name is determined by getTranslationKey().
In the world, the actual voxels are not stored as blocks, but as
block states. The possible states of the block
are defined by appendProperties(net.minecraft.state.StateManager.Builder<net.minecraft.block.Block, net.minecraft.block.BlockState>).
- See Also:
- Mappings:
Namespace Name official ciwintermediary net/minecraft/class_2248named net/minecraft/block/Block
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BlockStateprivate static final ThreadLocal<Object2ByteLinkedOpenHashMap<Block.NeighborGroup>>static final intstatic final floatstatic final floatstatic final intprivate static final intstatic final intstatic final intBypass virtual block state changes and forces the passed state to be stored as-is.private static final LoadingCache<VoxelShape,Boolean> private static final org.slf4j.Loggerstatic final intSignals that the current block is being moved to a different location, usually because of a piston.static final intUsed in conjunction withNOTIFY_LISTENERSto suppress the render pass on clients.static final intThe default setBlockState behavior.static final intNotifies listeners and clients who need to react when the block changes.static final intSends a neighbor update event to surrounding blocks.static final intForces a synchronous redraw on clients.private final RegistryEntry.Reference<Block>static final intPrevents the previous block (container) from dropping items when destroyed.static final intSignals that lighting updates should be skipped.static final IdList<BlockState>protected final StateManager<Block,BlockState> Fields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) protected voidappendProperties(StateManager.Builder<Block, BlockState> builder) voidappendStacks(ItemGroup group, DefaultedList<ItemStack> stacks) Appends the stacks of this block shown in the item group to the list.voidappendTooltip(ItemStack stack, @Nullable BlockView world, List<Text> tooltip, TooltipContext options) protected BlockasBlock()asItem()Gets this object in its item form.booleanstatic booleancannotConnect(BlockState state) private static <T extends Comparable<T>>
BlockStatecopyProperty(BlockState source, BlockState target, Property<T> property) static VoxelShapecreateCuboidShape(double minX, double minY, double minZ, double maxX, double maxY, double maxZ) protected voiddropExperience(ServerWorld world, BlockPos pos, int size) protected voiddropExperienceWhenMined(ServerWorld world, BlockPos pos, ItemStack tool, IntProvider experience) private static voiddropStack(World world, Supplier<ItemEntity> itemEntitySupplier, ItemStack stack) static voidstatic voidstatic voiddropStacks(BlockState state, LootContext.Builder lootContext) static voiddropStacks(BlockState state, WorldAccess world, BlockPos pos, @Nullable BlockEntity blockEntity) static voiddropStacks(BlockState state, World world, BlockPos pos) static voiddropStacks(BlockState state, World world, BlockPos pos, @Nullable BlockEntity blockEntity, Entity entity, ItemStack stack) floatstatic BlockgetBlockFromItem(@Nullable Item item) final BlockStategetDroppedStacks(BlockState state, ServerWorld world, BlockPos pos, @Nullable BlockEntity blockEntity) getDroppedStacks(BlockState state, ServerWorld world, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity entity, ItemStack stack) floatgetName()getPickStack(BlockView world, BlockPos pos, BlockState state) static intgetRawIdFromState(@Nullable BlockState state) Deprecated.protected ImmutableMap<BlockState,VoxelShape> getShapesForStates(Function<BlockState, VoxelShape> stateToShape) floatgetSoundGroup(BlockState state) static BlockStategetStateFromRawId(int stateId) final BlockStategetStateWithProperties(BlockState state) Gets a block state with all properties that both this block and the source block state have.Returns the translation key for the name of this block.floatbooleanbooleanhasRandomTicks(BlockState state) static booleanstatic booleanisFaceFullSquare(VoxelShape shape, Direction side) static booleanisShapeFullCube(VoxelShape shape) booleanisTranslucent(BlockState state, BlockView world, BlockPos pos) voidonBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) voidonBroken(WorldAccess world, BlockPos pos, BlockState state) voidonDestroyedByExplosion(World world, BlockPos pos, Explosion explosion) Called when this block is destroyed by an explosion.voidonEntityLand(BlockView world, Entity entity) voidonLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidonPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidonSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.static BlockStatepostProcessState(BlockState state, WorldAccess world, BlockPos pos) voidprecipitationTick(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) static BlockStatepushEntitiesUpBeforeBlockChange(BlockState from, BlockState to, WorldAccess worldAccess, BlockPos pos) voidrandomDisplayTick(BlockState state, World world, BlockPos pos, Random random) static voidreplace(BlockState state, BlockState newState, WorldAccess world, BlockPos pos, int flags) Replaces thestatewith thenewStateat thepos.static voidreplace(BlockState state, BlockState newState, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) Replaces thestatewith thenewStateat thepos.protected final voidsetDefaultState(BlockState state) static booleanshouldDrawSide(BlockState state, BlockView world, BlockPos pos, Direction side, BlockPos otherPos) booleanshouldDropItemsOnExplosion(Explosion explosion) static booleansideCoversSmallSquare(WorldView world, BlockPos pos, Direction side) protected voidspawnBreakParticles(World world, PlayerEntity player, BlockPos pos, BlockState state) toString()Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableId, getMaxHorizontalModelOffset, getOpacity, getOutlineShape, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTick
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official aLciw;a:Lorg/slf4j/Logger;intermediary field_10638Lnet/minecraft/class_2248;field_10638:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/block/Block;LOGGER:Lorg/slf4j/Logger;
-
STATE_IDS
- Mappings:
Namespace Name Mixin selector official oLciw;o:Lhg;intermediary field_10651Lnet/minecraft/class_2248;field_10651:Lnet/minecraft/class_2361;named STATE_IDSLnet/minecraft/block/Block;STATE_IDS:Lnet/minecraft/util/collection/IdList;
-
FULL_CUBE_SHAPE_CACHE
- Mappings:
Namespace Name Mixin selector official cLciw;c:Lcom/google/common/cache/LoadingCache;intermediary field_19312Lnet/minecraft/class_2248;field_19312:Lcom/google/common/cache/LoadingCache;named FULL_CUBE_SHAPE_CACHELnet/minecraft/block/Block;FULL_CUBE_SHAPE_CACHE:Lcom/google/common/cache/LoadingCache;
-
NOTIFY_NEIGHBORS
public static final int NOTIFY_NEIGHBORSSends a neighbor update event to surrounding blocks.- See Also:
- Mappings:
Namespace Name Mixin selector official pLciw;p:Iintermediary field_31027Lnet/minecraft/class_2248;field_31027:Inamed NOTIFY_NEIGHBORSLnet/minecraft/block/Block;NOTIFY_NEIGHBORS:I
-
NOTIFY_LISTENERS
public static final int NOTIFY_LISTENERSNotifies listeners and clients who need to react when the block changes.- See Also:
- Mappings:
Namespace Name Mixin selector official qLciw;q:Iintermediary field_31028Lnet/minecraft/class_2248;field_31028:Inamed NOTIFY_LISTENERSLnet/minecraft/block/Block;NOTIFY_LISTENERS:I
-
NO_REDRAW
public static final int NO_REDRAWUsed in conjunction withNOTIFY_LISTENERSto suppress the render pass on clients.- See Also:
- Mappings:
Namespace Name Mixin selector official rLciw;r:Iintermediary field_31029Lnet/minecraft/class_2248;field_31029:Inamed NO_REDRAWLnet/minecraft/block/Block;NO_REDRAW:I
-
REDRAW_ON_MAIN_THREAD
public static final int REDRAW_ON_MAIN_THREADForces a synchronous redraw on clients.- See Also:
- Mappings:
Namespace Name Mixin selector official sLciw;s:Iintermediary field_31030Lnet/minecraft/class_2248;field_31030:Inamed REDRAW_ON_MAIN_THREADLnet/minecraft/block/Block;REDRAW_ON_MAIN_THREAD:I
-
FORCE_STATE
public static final int FORCE_STATEBypass virtual block state changes and forces the passed state to be stored as-is.- See Also:
- Mappings:
Namespace Name Mixin selector official tLciw;t:Iintermediary field_31031Lnet/minecraft/class_2248;field_31031:Inamed FORCE_STATELnet/minecraft/block/Block;FORCE_STATE:I
-
SKIP_DROPS
public static final int SKIP_DROPSPrevents the previous block (container) from dropping items when destroyed.- See Also:
- Mappings:
Namespace Name Mixin selector official uLciw;u:Iintermediary field_31032Lnet/minecraft/class_2248;field_31032:Inamed SKIP_DROPSLnet/minecraft/block/Block;SKIP_DROPS:I
-
MOVED
public static final int MOVEDSignals that the current block is being moved to a different location, usually because of a piston.- See Also:
- Mappings:
Namespace Name Mixin selector official vLciw;v:Iintermediary field_31033Lnet/minecraft/class_2248;field_31033:Inamed MOVEDLnet/minecraft/block/Block;MOVED:I
-
SKIP_LIGHTING_UPDATES
public static final int SKIP_LIGHTING_UPDATESSignals that lighting updates should be skipped.- See Also:
- Mappings:
Namespace Name Mixin selector official wLciw;w:Iintermediary field_31034Lnet/minecraft/class_2248;field_31034:Inamed SKIP_LIGHTING_UPDATESLnet/minecraft/block/Block;SKIP_LIGHTING_UPDATES:I
-
field_31035
public static final int field_31035- See Also:
- Mappings:
Namespace Name Mixin selector official xLciw;x:Iintermediary field_31035Lnet/minecraft/class_2248;field_31035:Inamed field_31035Lnet/minecraft/block/Block;field_31035:I
-
NOTIFY_ALL
public static final int NOTIFY_ALLThe default setBlockState behavior. Same asNOTIFY_NEIGHBORS | NOTIFY_LISTENERS.- See Also:
- Mappings:
Namespace Name Mixin selector official yLciw;y:Iintermediary field_31036Lnet/minecraft/class_2248;field_31036:Inamed NOTIFY_ALLLnet/minecraft/block/Block;NOTIFY_ALL:I
-
field_31022
public static final int field_31022- See Also:
- Mappings:
Namespace Name Mixin selector official zLciw;z:Iintermediary field_31022Lnet/minecraft/class_2248;field_31022:Inamed field_31022Lnet/minecraft/block/Block;field_31022:I
-
field_31023
public static final float field_31023- See Also:
- Mappings:
Namespace Name Mixin selector official ALciw;A:Fintermediary field_31023Lnet/minecraft/class_2248;field_31023:Fnamed field_31023Lnet/minecraft/block/Block;field_31023:F
-
field_31024
public static final float field_31024- See Also:
- Mappings:
Namespace Name Mixin selector official BLciw;B:Fintermediary field_31024Lnet/minecraft/class_2248;field_31024:Fnamed field_31024Lnet/minecraft/block/Block;field_31024:F
-
field_31025
public static final int field_31025- See Also:
- Mappings:
Namespace Name Mixin selector official CLciw;C:Iintermediary field_31025Lnet/minecraft/class_2248;field_31025:Inamed field_31025Lnet/minecraft/block/Block;field_31025:I
-
field_31026
private static final int field_31026- See Also:
- Mappings:
Namespace Name Mixin selector official gLciw;g:Iintermediary field_31026Lnet/minecraft/class_2248;field_31026:Inamed field_31026Lnet/minecraft/block/Block;field_31026:I
-
FACE_CULL_MAP
- Mappings:
Namespace Name Mixin selector official hLciw;h:Ljava/lang/ThreadLocal;intermediary field_10649Lnet/minecraft/class_2248;field_10649:Ljava/lang/ThreadLocal;named FACE_CULL_MAPLnet/minecraft/block/Block;FACE_CULL_MAP:Ljava/lang/ThreadLocal;
-
registryEntry
- Mappings:
Namespace Name Mixin selector official bLciw;b:Lhc$c;intermediary field_36404Lnet/minecraft/class_2248;field_36404:Lnet/minecraft/class_6880$class_6883;named registryEntryLnet/minecraft/block/Block;registryEntry:Lnet/minecraft/util/registry/RegistryEntry$Reference;
-
stateManager
- Mappings:
Namespace Name Mixin selector official DLciw;D:Lcus;intermediary field_10647Lnet/minecraft/class_2248;field_10647:Lnet/minecraft/class_2689;named stateManagerLnet/minecraft/block/Block;stateManager:Lnet/minecraft/state/StateManager;
-
defaultState
- Mappings:
Namespace Name Mixin selector official dLciw;d:Lcur;intermediary field_10646Lnet/minecraft/class_2248;field_10646:Lnet/minecraft/class_2680;named defaultStateLnet/minecraft/block/Block;defaultState:Lnet/minecraft/block/BlockState;
-
translationKey
- Mappings:
Namespace Name Mixin selector official eLciw;e:Ljava/lang/String;intermediary field_10642Lnet/minecraft/class_2248;field_10642:Ljava/lang/String;named translationKeyLnet/minecraft/block/Block;translationKey:Ljava/lang/String;
-
cachedItem
- Mappings:
Namespace Name Mixin selector official fLciw;f:Lbzw;intermediary field_17562Lnet/minecraft/class_2248;field_17562:Lnet/minecraft/class_1792;named cachedItemLnet/minecraft/block/Block;cachedItem:Lnet/minecraft/item/Item;
-
-
Constructor Details
-
Block
- Mappings:
Namespace Name Mixin selector official <init>Lcuq;<init>(Lcuq$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
-
getRawIdFromState
- Mappings:
Namespace Name Mixin selector official iLciw;i(Lcur;)Iintermediary method_9507Lnet/minecraft/class_2248;method_9507(Lnet/minecraft/class_2680;)Inamed getRawIdFromStateLnet/minecraft/block/Block;getRawIdFromState(Lnet/minecraft/block/BlockState;)I
-
getStateFromRawId
- Mappings:
Namespace Name Mixin selector official aLciw;a(I)Lcur;intermediary method_9531Lnet/minecraft/class_2248;method_9531(I)Lnet/minecraft/class_2680;named getStateFromRawIdLnet/minecraft/block/Block;getStateFromRawId(I)Lnet/minecraft/block/BlockState;
-
getBlockFromItem
- Mappings:
Namespace Name Mixin selector official aLciw;a(Lbzw;)Lciw;intermediary method_9503Lnet/minecraft/class_2248;method_9503(Lnet/minecraft/class_1792;)Lnet/minecraft/class_2248;named getBlockFromItemLnet/minecraft/block/Block;getBlockFromItem(Lnet/minecraft/item/Item;)Lnet/minecraft/block/Block;
-
pushEntitiesUpBeforeBlockChange
public static BlockState pushEntitiesUpBeforeBlockChange(BlockState from, BlockState to, WorldAccess worldAccess, BlockPos pos) - Mappings:
Namespace Name Mixin selector official aLciw;a(Lcur;Lcur;Lcgb;Lgt;)Lcur;intermediary method_9582Lnet/minecraft/class_2248;method_9582(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;named pushEntitiesUpBeforeBlockChangeLnet/minecraft/block/Block;pushEntitiesUpBeforeBlockChange(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
createCuboidShape
public static VoxelShape createCuboidShape(double minX, double minY, double minZ, double maxX, double maxY, double maxZ) - Mappings:
Namespace Name Mixin selector official aLciw;a(DDDDDD)Ldwm;intermediary method_9541Lnet/minecraft/class_2248;method_9541(DDDDDD)Lnet/minecraft/class_265;named createCuboidShapeLnet/minecraft/block/Block;createCuboidShape(DDDDDD)Lnet/minecraft/util/shape/VoxelShape;
-
postProcessState
- Mappings:
Namespace Name Mixin selector official bLciw;b(Lcur;Lcgb;Lgt;)Lcur;intermediary method_9510Lnet/minecraft/class_2248;method_9510(Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;named postProcessStateLnet/minecraft/block/Block;postProcessState(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
replace
public static void replace(BlockState state, BlockState newState, WorldAccess world, BlockPos pos, int flags) Replaces thestatewith thenewStateat thepos.If the two state objects are identical, this method does nothing.
If the new state is air, breaks the block at the position instead.
- Parameters:
state- the existing block statenewState- the new block stateworld- the worldpos- the position of the replaced block stateflags- the bitwise flags forModifiableWorld.setBlockState(BlockPos, BlockState, int, int)- Mappings:
Namespace Name Mixin selector official aLciw;a(Lcur;Lcur;Lcgb;Lgt;I)Vintermediary method_30094Lnet/minecraft/class_2248;method_30094(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;I)Vnamed replaceLnet/minecraft/block/Block;replace(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;I)V
-
replace
public static void replace(BlockState state, BlockState newState, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) Replaces thestatewith thenewStateat thepos.If the two state objects are identical, this method does nothing.
If the new state is air, breaks the block at the position instead.
- Parameters:
state- the existing block statenewState- the new block stateworld- the worldpos- the position of the replaced block stateflags- the bitwise flags forModifiableWorld.setBlockState(BlockPos, BlockState, int, int)maxUpdateDepth- the limit for the cascading block updates- Mappings:
Namespace Name Mixin selector official aLciw;a(Lcur;Lcur;Lcgb;Lgt;II)Vintermediary method_9611Lnet/minecraft/class_2248;method_9611(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;II)Vnamed replaceLnet/minecraft/block/Block;replace(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;II)V
-
cannotConnect
- Mappings:
Namespace Name Mixin selector official jLciw;j(Lcur;)Zintermediary method_9581Lnet/minecraft/class_2248;method_9581(Lnet/minecraft/class_2680;)Znamed cannotConnectLnet/minecraft/block/Block;cannotConnect(Lnet/minecraft/block/BlockState;)Z
-
hasRandomTicks
- Mappings:
Namespace Name Mixin selector official e_Lciw;e_(Lcur;)Zintermediary method_9542Lnet/minecraft/class_2248;method_9542(Lnet/minecraft/class_2680;)Znamed hasRandomTicksLnet/minecraft/block/Block;hasRandomTicks(Lnet/minecraft/block/BlockState;)Z
-
shouldDrawSide
public static boolean shouldDrawSide(BlockState state, BlockView world, BlockPos pos, Direction side, BlockPos otherPos) - Mappings:
Namespace Name Mixin selector official aLciw;a(Lcur;Lcfg;Lgt;Lgy;Lgt;)Zintermediary method_9607Lnet/minecraft/class_2248;method_9607(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_2338;)Znamed shouldDrawSideLnet/minecraft/block/Block;shouldDrawSide(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/BlockPos;)Z
-
hasTopRim
- Mappings:
Namespace Name Mixin selector official cLciw;c(Lcfg;Lgt;)Zintermediary method_16361Lnet/minecraft/class_2248;method_16361(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Znamed hasTopRimLnet/minecraft/block/Block;hasTopRim(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
-
sideCoversSmallSquare
- Mappings:
Namespace Name Mixin selector official aLciw;a(Lcgd;Lgt;Lgy;)Zintermediary method_20044Lnet/minecraft/class_2248;method_20044(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Znamed sideCoversSmallSquareLnet/minecraft/block/Block;sideCoversSmallSquare(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-
isFaceFullSquare
- Mappings:
Namespace Name Mixin selector official aLciw;a(Ldwm;Lgy;)Zintermediary method_9501Lnet/minecraft/class_2248;method_9501(Lnet/minecraft/class_265;Lnet/minecraft/class_2350;)Znamed isFaceFullSquareLnet/minecraft/block/Block;isFaceFullSquare(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/math/Direction;)Z
-
isShapeFullCube
- Mappings:
Namespace Name Mixin selector official aLciw;a(Ldwm;)Zintermediary method_9614Lnet/minecraft/class_2248;method_9614(Lnet/minecraft/class_265;)Znamed isShapeFullCubeLnet/minecraft/block/Block;isShapeFullCube(Lnet/minecraft/util/shape/VoxelShape;)Z
-
isTranslucent
- Mappings:
Namespace Name Mixin selector official cLciw;c(Lcur;Lcfg;Lgt;)Zintermediary method_9579Lnet/minecraft/class_2248;method_9579(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Znamed isTranslucentLnet/minecraft/block/Block;isTranslucent(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
-
randomDisplayTick
- Mappings:
Namespace Name Mixin selector official aLciw;a(Lcur;Lcga;Lgt;Lalu;)Vintermediary method_9496Lnet/minecraft/class_2248;method_9496(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Vnamed randomDisplayTickLnet/minecraft/block/Block;randomDisplayTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)V
-
onBroken
- Mappings:
Namespace Name Mixin selector official aLciw;a(Lcgb;Lgt;Lcur;)Vintermediary method_9585Lnet/minecraft/class_2248;method_9585(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed onBrokenLnet/minecraft/block/Block;onBroken(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
getDroppedStacks
public static List<ItemStack> getDroppedStacks(BlockState state, ServerWorld world, BlockPos pos, @Nullable @Nullable BlockEntity blockEntity) - Mappings:
Namespace Name Mixin selector official aLciw;a(Lcur;Lafo;Lgt;Lcsl;)Ljava/util/List;intermediary method_9562Lnet/minecraft/class_2248;method_9562(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_2586;)Ljava/util/List;named getDroppedStacksLnet/minecraft/block/Block;getDroppedStacks(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/entity/BlockEntity;)Ljava/util/List;
-
getDroppedStacks
public static List<ItemStack> getDroppedStacks(BlockState state, ServerWorld world, BlockPos pos, @Nullable @Nullable BlockEntity blockEntity, @Nullable @Nullable Entity entity, ItemStack stack) - Mappings:
Namespace Name Mixin selector official aLciw;a(Lcur;Lafo;Lgt;Lcsl;Lbaq;Lcaa;)Ljava/util/List;intermediary method_9609Lnet/minecraft/class_2248;method_9609(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_2586;Lnet/minecraft/class_1297;Lnet/minecraft/class_1799;)Ljava/util/List;named getDroppedStacksLnet/minecraft/block/Block;getDroppedStacks(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/item/ItemStack;)Ljava/util/List;
-
dropStacks
- Mappings:
Namespace Name Mixin selector official bLciw;b(Lcur;Ldrg$a;)Vintermediary method_35258Lnet/minecraft/class_2248;method_35258(Lnet/minecraft/class_2680;Lnet/minecraft/class_47$class_48;)Vnamed dropStacksLnet/minecraft/block/Block;dropStacks(Lnet/minecraft/block/BlockState;Lnet/minecraft/loot/context/LootContext$Builder;)V
-
dropStacks
- Mappings:
Namespace Name Mixin selector official cLciw;c(Lcur;Lcga;Lgt;)Vintermediary method_9497Lnet/minecraft/class_2248;method_9497(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Vnamed dropStacksLnet/minecraft/block/Block;dropStacks(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
dropStacks
public static void dropStacks(BlockState state, WorldAccess world, BlockPos pos, @Nullable @Nullable BlockEntity blockEntity) - Mappings:
Namespace Name Mixin selector official aLciw;a(Lcur;Lcgb;Lgt;Lcsl;)Vintermediary method_9610Lnet/minecraft/class_2248;method_9610(Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2586;)Vnamed dropStacksLnet/minecraft/block/Block;dropStacks(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/entity/BlockEntity;)V
-
dropStacks
public static void dropStacks(BlockState state, World world, BlockPos pos, @Nullable @Nullable BlockEntity blockEntity, Entity entity, ItemStack stack) - Mappings:
Namespace Name Mixin selector official aLciw;a(Lcur;Lcga;Lgt;Lcsl;Lbaq;Lcaa;)Vintermediary method_9511Lnet/minecraft/class_2248;method_9511(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2586;Lnet/minecraft/class_1297;Lnet/minecraft/class_1799;)Vnamed dropStacksLnet/minecraft/block/Block;dropStacks(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/item/ItemStack;)V
-
dropStack
- Mappings:
Namespace Name Mixin selector official aLciw;a(Lcga;Lgt;Lcaa;)Vintermediary method_9577Lnet/minecraft/class_2248;method_9577(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1799;)Vnamed dropStackLnet/minecraft/block/Block;dropStack(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/ItemStack;)V
-
dropStack
- Mappings:
Namespace Name Mixin selector official aLciw;a(Lcga;Lgt;Lgy;Lcaa;)Vintermediary method_36992Lnet/minecraft/class_2248;method_36992(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_1799;)Vnamed dropStackLnet/minecraft/block/Block;dropStack(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/item/ItemStack;)V
-
dropStack
private static void dropStack(World world, Supplier<ItemEntity> itemEntitySupplier, ItemStack stack) - Mappings:
Namespace Name Mixin selector official aLciw;a(Lcga;Ljava/util/function/Supplier;Lcaa;)Vintermediary method_36993Lnet/minecraft/class_2248;method_36993(Lnet/minecraft/class_1937;Ljava/util/function/Supplier;Lnet/minecraft/class_1799;)Vnamed dropStackLnet/minecraft/block/Block;dropStack(Lnet/minecraft/world/World;Ljava/util/function/Supplier;Lnet/minecraft/item/ItemStack;)V
-
dropExperience
- Mappings:
Namespace Name Mixin selector official aLciw;a(Lafo;Lgt;I)Vintermediary method_9583Lnet/minecraft/class_2248;method_9583(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;I)Vnamed dropExperienceLnet/minecraft/block/Block;dropExperience(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;I)V
-
getBlastResistance
public float getBlastResistance()- Mappings:
Namespace Name Mixin selector official eLciw;e()Fintermediary method_9520Lnet/minecraft/class_2248;method_9520()Fnamed getBlastResistanceLnet/minecraft/block/Block;getBlastResistance()F
-
onDestroyedByExplosion
Called when this block is destroyed by an explosion.- Mappings:
Namespace Name Mixin selector official aLciw;a(Lcga;Lgt;Lcfs;)Vintermediary method_9586Lnet/minecraft/class_2248;method_9586(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1927;)Vnamed onDestroyedByExplosionLnet/minecraft/block/Block;onDestroyedByExplosion(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/explosion/Explosion;)V
-
onSteppedOn
Called when an entity steps on this block.- Mappings:
Namespace Name Mixin selector official aLciw;a(Lcga;Lgt;Lcur;Lbaq;)Vintermediary method_9591Lnet/minecraft/class_2248;method_9591(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1297;)Vnamed onSteppedOnLnet/minecraft/block/Block;onSteppedOn(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/Entity;)V
-
getPlacementState
- Mappings:
Namespace Name Mixin selector official aLciw;a(Lcca;)Lcur;intermediary method_9605Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;named getPlacementStateLnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
-
afterBreak
public void afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable @Nullable BlockEntity blockEntity, ItemStack stack) - Mappings:
Namespace Name Mixin selector official aLciw;a(Lcga;Lbtf;Lgt;Lcur;Lcsl;Lcaa;)Vintermediary method_9556Lnet/minecraft/class_2248;method_9556(Lnet/minecraft/class_1937;Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2586;Lnet/minecraft/class_1799;)Vnamed afterBreakLnet/minecraft/block/Block;afterBreak(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/item/ItemStack;)V
-
onPlaced
public void onPlaced(World world, BlockPos pos, BlockState state, @Nullable @Nullable LivingEntity placer, ItemStack itemStack) - Mappings:
Namespace Name Mixin selector official aLciw;a(Lcga;Lgt;Lcur;Lbbf;Lcaa;)Vintermediary method_9567Lnet/minecraft/class_2248;method_9567(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;)Vnamed onPlacedLnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;)V
-
canMobSpawnInside
public boolean canMobSpawnInside()- Mappings:
Namespace Name Mixin selector official Z_Lciw;Z_()Zintermediary method_9538Lnet/minecraft/class_2248;method_9538()Znamed canMobSpawnInsideLnet/minecraft/block/Block;canMobSpawnInside()Z
-
getName
- Mappings:
Namespace Name Mixin selector official fLciw;f()Lrt;intermediary method_9518Lnet/minecraft/class_2248;method_9518()Lnet/minecraft/class_5250;named getNameLnet/minecraft/block/Block;getName()Lnet/minecraft/text/MutableText;
-
getTranslationKey
Returns the translation key for the name of this block.By default, it returns
block.namespace.pathwherenamespaceandpathare of the identifier used for registering this block, but/inpathis replaced with.. If the block is not registered, it returnsblock.unregistered_sadface.- Returns:
- the translation key for the name of this block
- Mappings:
Namespace Name Mixin selector official gLciw;g()Ljava/lang/String;intermediary method_9539Lnet/minecraft/class_2248;method_9539()Ljava/lang/String;named getTranslationKeyLnet/minecraft/block/Block;getTranslationKey()Ljava/lang/String;
-
onLandedUpon
public void onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) - Mappings:
Namespace Name Mixin selector official aLciw;a(Lcga;Lcur;Lgt;Lbaq;F)Vintermediary method_9554Lnet/minecraft/class_2248;method_9554(Lnet/minecraft/class_1937;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;F)Vnamed onLandedUponLnet/minecraft/block/Block;onLandedUpon(Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;F)V
-
onEntityLand
- Mappings:
Namespace Name Mixin selector official aLciw;a(Lcfg;Lbaq;)Vintermediary method_9502Lnet/minecraft/class_2248;method_9502(Lnet/minecraft/class_1922;Lnet/minecraft/class_1297;)Vnamed onEntityLandLnet/minecraft/block/Block;onEntityLand(Lnet/minecraft/world/BlockView;Lnet/minecraft/entity/Entity;)V
-
getPickStack
- Mappings:
Namespace Name Mixin selector official aLciw;a(Lcfg;Lgt;Lcur;)Lcaa;intermediary method_9574Lnet/minecraft/class_2248;method_9574(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_1799;named getPickStackLnet/minecraft/block/Block;getPickStack(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/item/ItemStack;
-
appendStacks
Appends the stacks of this block shown in the item group to the list.- See Also:
- Mappings:
Namespace Name Mixin selector official aLciw;a(Lbym;Lhi;)Vintermediary method_9578Lnet/minecraft/class_2248;method_9578(Lnet/minecraft/class_1761;Lnet/minecraft/class_2371;)Vnamed appendStacksLnet/minecraft/block/Block;appendStacks(Lnet/minecraft/item/ItemGroup;Lnet/minecraft/util/collection/DefaultedList;)V
-
getSlipperiness
public float getSlipperiness()- Mappings:
Namespace Name Mixin selector official hLciw;h()Fintermediary method_9499Lnet/minecraft/class_2248;method_9499()Fnamed getSlipperinessLnet/minecraft/block/Block;getSlipperiness()F
-
getVelocityMultiplier
public float getVelocityMultiplier()- Mappings:
Namespace Name Mixin selector official iLciw;i()Fintermediary method_23349Lnet/minecraft/class_2248;method_23349()Fnamed getVelocityMultiplierLnet/minecraft/block/Block;getVelocityMultiplier()F
-
getJumpVelocityMultiplier
public float getJumpVelocityMultiplier()- Mappings:
Namespace Name Mixin selector official jLciw;j()Fintermediary method_23350Lnet/minecraft/class_2248;method_23350()Fnamed getJumpVelocityMultiplierLnet/minecraft/block/Block;getJumpVelocityMultiplier()F
-
spawnBreakParticles
protected void spawnBreakParticles(World world, PlayerEntity player, BlockPos pos, BlockState state) - Mappings:
Namespace Name Mixin selector official aLciw;a(Lcga;Lbtf;Lgt;Lcur;)Vintermediary method_33614Lnet/minecraft/class_2248;method_33614(Lnet/minecraft/class_1937;Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed spawnBreakParticlesLnet/minecraft/block/Block;spawnBreakParticles(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
onBreak
- Mappings:
Namespace Name Mixin selector official aLciw;a(Lcga;Lgt;Lcur;Lbtf;)Vintermediary method_9576Lnet/minecraft/class_2248;method_9576(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1657;)Vnamed onBreakLnet/minecraft/block/Block;onBreak(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;)V
-
precipitationTick
public void precipitationTick(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) - Mappings:
Namespace Name Mixin selector official aLciw;a(Lcur;Lcga;Lgt;Lcgw$c;)Vintermediary method_9504Lnet/minecraft/class_2248;method_9504(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1959$class_1963;)Vnamed precipitationTickLnet/minecraft/block/Block;precipitationTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/biome/Biome$Precipitation;)V
-
shouldDropItemsOnExplosion
- Mappings:
Namespace Name Mixin selector official aLciw;a(Lcfs;)Zintermediary method_9533Lnet/minecraft/class_2248;method_9533(Lnet/minecraft/class_1927;)Znamed shouldDropItemsOnExplosionLnet/minecraft/block/Block;shouldDropItemsOnExplosion(Lnet/minecraft/world/explosion/Explosion;)Z
-
appendProperties
- Mappings:
Namespace Name Mixin selector official aLciw;a(Lcus$a;)Vintermediary method_9515Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)Vnamed appendPropertiesLnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
-
getStateManager
- Mappings:
Namespace Name Mixin selector official kLciw;k()Lcus;intermediary method_9595Lnet/minecraft/class_2248;method_9595()Lnet/minecraft/class_2689;named getStateManagerLnet/minecraft/block/Block;getStateManager()Lnet/minecraft/state/StateManager;
-
setDefaultState
- Mappings:
Namespace Name Mixin selector official kLciw;k(Lcur;)Vintermediary method_9590Lnet/minecraft/class_2248;method_9590(Lnet/minecraft/class_2680;)Vnamed setDefaultStateLnet/minecraft/block/Block;setDefaultState(Lnet/minecraft/block/BlockState;)V
-
getDefaultState
- Mappings:
Namespace Name Mixin selector official mLciw;m()Lcur;intermediary method_9564Lnet/minecraft/class_2248;method_9564()Lnet/minecraft/class_2680;named getDefaultStateLnet/minecraft/block/Block;getDefaultState()Lnet/minecraft/block/BlockState;
-
getStateWithProperties
Gets a block state with all properties that both this block and the source block state have.- Mappings:
Namespace Name Mixin selector official lLciw;l(Lcur;)Lcur;intermediary method_34725Lnet/minecraft/class_2248;method_34725(Lnet/minecraft/class_2680;)Lnet/minecraft/class_2680;named getStateWithPropertiesLnet/minecraft/block/Block;getStateWithProperties(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
-
copyProperty
private static <T extends Comparable<T>> BlockState copyProperty(BlockState source, BlockState target, Property<T> property) - Mappings:
Namespace Name Mixin selector official aLciw;a(Lcur;Lcur;Lcvu;)Lcur;intermediary method_34724Lnet/minecraft/class_2248;method_34724(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_2769;)Lnet/minecraft/class_2680;named copyPropertyLnet/minecraft/block/Block;copyProperty(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/state/property/Property;)Lnet/minecraft/block/BlockState;
-
getSoundGroup
- Mappings:
Namespace Name Mixin selector official mLciw;m(Lcur;)Lcpz;intermediary method_9573Lnet/minecraft/class_2248;method_9573(Lnet/minecraft/class_2680;)Lnet/minecraft/class_2498;named getSoundGroupLnet/minecraft/block/Block;getSoundGroup(Lnet/minecraft/block/BlockState;)Lnet/minecraft/sound/BlockSoundGroup;
-
asItem
Gets this object in its item form.- Specified by:
asItemin interfaceItemConvertible- Specified by:
asItemin classAbstractBlock- Mappings:
Namespace Name Mixin selector official lLcuq;l()Lbzw;intermediary method_8389Lnet/minecraft/class_4970;method_8389()Lnet/minecraft/class_1792;named asItemLnet/minecraft/block/AbstractBlock;asItem()Lnet/minecraft/item/Item;
-
hasDynamicBounds
public boolean hasDynamicBounds()- Mappings:
Namespace Name Mixin selector official nLciw;n()Zintermediary method_9543Lnet/minecraft/class_2248;method_9543()Znamed hasDynamicBoundsLnet/minecraft/block/Block;hasDynamicBounds()Z
-
toString
-
appendTooltip
public void appendTooltip(ItemStack stack, @Nullable @Nullable BlockView world, List<Text> tooltip, TooltipContext options) - Mappings:
Namespace Name Mixin selector official aLciw;a(Lcaa;Lcfg;Ljava/util/List;Lcbo;)Vintermediary method_9568Lnet/minecraft/class_2248;method_9568(Lnet/minecraft/class_1799;Lnet/minecraft/class_1922;Ljava/util/List;Lnet/minecraft/class_1836;)Vnamed appendTooltipLnet/minecraft/block/Block;appendTooltip(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/BlockView;Ljava/util/List;Lnet/minecraft/client/item/TooltipContext;)V
-
asBlock
- Specified by:
asBlockin classAbstractBlock- Mappings:
Namespace Name Mixin selector official oLcuq;o()Lciw;intermediary method_26160Lnet/minecraft/class_4970;method_26160()Lnet/minecraft/class_2248;named asBlockLnet/minecraft/block/AbstractBlock;asBlock()Lnet/minecraft/block/Block;
-
getShapesForStates
protected ImmutableMap<BlockState,VoxelShape> getShapesForStates(Function<BlockState, VoxelShape> stateToShape) - Mappings:
Namespace Name Mixin selector official aLciw;a(Ljava/util/function/Function;)Lcom/google/common/collect/ImmutableMap;intermediary method_33615Lnet/minecraft/class_2248;method_33615(Ljava/util/function/Function;)Lcom/google/common/collect/ImmutableMap;named getShapesForStatesLnet/minecraft/block/Block;getShapesForStates(Ljava/util/function/Function;)Lcom/google/common/collect/ImmutableMap;
-
getRegistryEntry
Deprecated.- Mappings:
Namespace Name Mixin selector official pLciw;p()Lhc$c;intermediary method_40142Lnet/minecraft/class_2248;method_40142()Lnet/minecraft/class_6880$class_6883;named getRegistryEntryLnet/minecraft/block/Block;getRegistryEntry()Lnet/minecraft/util/registry/RegistryEntry$Reference;
-
dropExperienceWhenMined
protected void dropExperienceWhenMined(ServerWorld world, BlockPos pos, ItemStack tool, IntProvider experience) - Mappings:
Namespace Name Mixin selector official aLciw;a(Lafo;Lgt;Lcaa;Layr;)Vintermediary method_41420Lnet/minecraft/class_2248;method_41420(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_1799;Lnet/minecraft/class_6017;)Vnamed dropExperienceWhenMinedLnet/minecraft/block/Block;dropExperienceWhenMined(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/intprovider/IntProvider;)V
-