Class GrindstoneBlock
- All Implemented Interfaces:
ItemConvertible,ToggleableFeature
- Mappings:
Namespace Name named net/minecraft/block/GrindstoneBlockintermediary net/minecraft/class_3713official dlp
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<GrindstoneBlock> static final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapeprivate static final Textstatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapeFields inherited from class net.minecraft.block.WallMountedBlock
FACEFields inherited from class net.minecraft.block.HorizontalFacingBlock
FACINGFields inherited from class net.minecraft.block.Block
field_31023, field_31024, field_31025, field_31035, FORCE_STATE, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_ALL_AND_REDRAW, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, SKIP_REDSTONE_WIRE_STATE_REPLACEMENT, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableKey, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, translationKey, velocityMultiplierFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendProperties(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected booleancanPathfindThrough(BlockState state, NavigationType type) Returns if an entity using navigation typetypecan navigate through this block.protected booleancanPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected NamedScreenHandlerFactorycreateScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.com.mojang.serialization.MapCodec<GrindstoneBlock> getCodec()protected VoxelShapegetCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapegetOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected BlockRenderTypegetRenderType(BlockState state) Returns the block's render type (invisible, animated, model).private VoxelShapegetShape(BlockState state) protected BlockStatemirror(BlockState state, BlockMirror mirror) Returnsstatemirrored bymirror.protected ActionResultonUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected BlockStaterotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.Methods inherited from class net.minecraft.block.WallMountedBlock
canPlaceAt, getDirection, getPlacementState, getStateForNeighborUpdateMethods inherited from class net.minecraft.block.Block
afterBreak, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getRawIdFromState, getRegistryEntry, getShapesForStates, getSlipperiness, getStateFromRawId, getStateManager, getStateWithProperties, getVelocityMultiplier, hasDynamicBounds, hasTopRim, isFaceFullSquare, isShapeFullCube, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toStringMethods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canReplace, createCodec, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getInsideCollisionShape, getLootTableKey, getMaxHorizontalModelOffset, getOpacity, getRaycastShape, getRenderingSeed, getRequiredFeatures, getSettings, getSidesShape, getSoundGroup, getStrongRedstonePower, getTranslationKey, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasRandomTicks, hasSidedTransparency, isShapeFullCube, isSideInvisible, isTransparent, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onExploded, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUseWithItem, prepare, randomTick, scheduledTickMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/block/GrindstoneBlock;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_46365Lnet/minecraft/class_3713;field_46365:Lcom/mojang/serialization/MapCodec;official aLdlp;a:Lcom/mojang/serialization/MapCodec;
-
WEST_FLOOR_LEG
- Mappings:
Namespace Name Mixin selector named WEST_FLOOR_LEGLnet/minecraft/block/GrindstoneBlock;WEST_FLOOR_LEG:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16379Lnet/minecraft/class_3713;field_16379:Lnet/minecraft/class_265;official bLdlp;b:Lfah;
-
EAST_FLOOR_LEG
- Mappings:
Namespace Name Mixin selector named EAST_FLOOR_LEGLnet/minecraft/block/GrindstoneBlock;EAST_FLOOR_LEG:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16392Lnet/minecraft/class_3713;field_16392:Lnet/minecraft/class_265;official cLdlp;c:Lfah;
-
WEST_FLOOR_HINGE
- Mappings:
Namespace Name Mixin selector named WEST_FLOOR_HINGELnet/minecraft/block/GrindstoneBlock;WEST_FLOOR_HINGE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16366Lnet/minecraft/class_3713;field_16366:Lnet/minecraft/class_265;official dLdlp;d:Lfah;
-
EAST_FLOOR_HINGE
- Mappings:
Namespace Name Mixin selector named EAST_FLOOR_HINGELnet/minecraft/block/GrindstoneBlock;EAST_FLOOR_HINGE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16339Lnet/minecraft/class_3713;field_16339:Lnet/minecraft/class_265;official eLdlp;e:Lfah;
-
WEST_FLOOR_SIDE
- Mappings:
Namespace Name Mixin selector named WEST_FLOOR_SIDELnet/minecraft/block/GrindstoneBlock;WEST_FLOOR_SIDE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16348Lnet/minecraft/class_3713;field_16348:Lnet/minecraft/class_265;official fLdlp;f:Lfah;
-
EAST_FLOOR_SIDE
- Mappings:
Namespace Name Mixin selector named EAST_FLOOR_SIDELnet/minecraft/block/GrindstoneBlock;EAST_FLOOR_SIDE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16365Lnet/minecraft/class_3713;field_16365:Lnet/minecraft/class_265;official gLdlp;g:Lfah;
-
Z_FLOOR_SIDES
- Mappings:
Namespace Name Mixin selector named Z_FLOOR_SIDESLnet/minecraft/block/GrindstoneBlock;Z_FLOOR_SIDES:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16385Lnet/minecraft/class_3713;field_16385:Lnet/minecraft/class_265;official hLdlp;h:Lfah;
-
Z_FLOOR_SHAPE
- Mappings:
Namespace Name Mixin selector named Z_FLOOR_SHAPELnet/minecraft/block/GrindstoneBlock;Z_FLOOR_SHAPE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16380Lnet/minecraft/class_3713;field_16380:Lnet/minecraft/class_265;official iLdlp;i:Lfah;
-
NORTH_FLOOR_LEG
- Mappings:
Namespace Name Mixin selector named NORTH_FLOOR_LEGLnet/minecraft/block/GrindstoneBlock;NORTH_FLOOR_LEG:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16373Lnet/minecraft/class_3713;field_16373:Lnet/minecraft/class_265;official jLdlp;j:Lfah;
-
SOUTH_FLOOR_LEG
- Mappings:
Namespace Name Mixin selector named SOUTH_FLOOR_LEGLnet/minecraft/block/GrindstoneBlock;SOUTH_FLOOR_LEG:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16346Lnet/minecraft/class_3713;field_16346:Lnet/minecraft/class_265;official kLdlp;k:Lfah;
-
NORTH_FLOOR_HINGE
- Mappings:
Namespace Name Mixin selector named NORTH_FLOOR_HINGELnet/minecraft/block/GrindstoneBlock;NORTH_FLOOR_HINGE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16343Lnet/minecraft/class_3713;field_16343:Lnet/minecraft/class_265;official lLdlp;l:Lfah;
-
SOUTH_FLOOR_HINGE
- Mappings:
Namespace Name Mixin selector named SOUTH_FLOOR_HINGELnet/minecraft/block/GrindstoneBlock;SOUTH_FLOOR_HINGE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16374Lnet/minecraft/class_3713;field_16374:Lnet/minecraft/class_265;official mLdlp;m:Lfah;
-
NORTH_FLOOR_SIDE
- Mappings:
Namespace Name Mixin selector named NORTH_FLOOR_SIDELnet/minecraft/block/GrindstoneBlock;NORTH_FLOOR_SIDE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16386Lnet/minecraft/class_3713;field_16386:Lnet/minecraft/class_265;official nLdlp;n:Lfah;
-
SOUTH_FLOOR_SIDE
- Mappings:
Namespace Name Mixin selector named SOUTH_FLOOR_SIDELnet/minecraft/block/GrindstoneBlock;SOUTH_FLOOR_SIDE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16378Lnet/minecraft/class_3713;field_16378:Lnet/minecraft/class_265;official oLdlp;o:Lfah;
-
X_FLOOR_SIDES
- Mappings:
Namespace Name Mixin selector named X_FLOOR_SIDESLnet/minecraft/block/GrindstoneBlock;X_FLOOR_SIDES:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16362Lnet/minecraft/class_3713;field_16362:Lnet/minecraft/class_265;official GLdlp;G:Lfah;
-
X_FLOOR_SHAPE
- Mappings:
Namespace Name Mixin selector named X_FLOOR_SHAPELnet/minecraft/block/GrindstoneBlock;X_FLOOR_SHAPE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16338Lnet/minecraft/class_3713;field_16338:Lnet/minecraft/class_265;official HLdlp;H:Lfah;
-
SOUTH_WALL_WEST_LEG
- Mappings:
Namespace Name Mixin selector named SOUTH_WALL_WEST_LEGLnet/minecraft/block/GrindstoneBlock;SOUTH_WALL_WEST_LEG:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16352Lnet/minecraft/class_3713;field_16352:Lnet/minecraft/class_265;official ILdlp;I:Lfah;
-
SOUTH_WALL_EAST_LEG
- Mappings:
Namespace Name Mixin selector named SOUTH_WALL_EAST_LEGLnet/minecraft/block/GrindstoneBlock;SOUTH_WALL_EAST_LEG:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16377Lnet/minecraft/class_3713;field_16377:Lnet/minecraft/class_265;official JLdlp;J:Lfah;
-
SOUTH_WALL_WEST_HINGE
- Mappings:
Namespace Name Mixin selector named SOUTH_WALL_WEST_HINGELnet/minecraft/block/GrindstoneBlock;SOUTH_WALL_WEST_HINGE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16393Lnet/minecraft/class_3713;field_16393:Lnet/minecraft/class_265;official KLdlp;K:Lfah;
-
SOUTH_WALL_EAST_HINGE
- Mappings:
Namespace Name Mixin selector named SOUTH_WALL_EAST_HINGELnet/minecraft/block/GrindstoneBlock;SOUTH_WALL_EAST_HINGE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16371Lnet/minecraft/class_3713;field_16371:Lnet/minecraft/class_265;official MLdlp;M:Lfah;
-
SOUTH_WALL_WEST_SIDE
- Mappings:
Namespace Name Mixin selector named SOUTH_WALL_WEST_SIDELnet/minecraft/block/GrindstoneBlock;SOUTH_WALL_WEST_SIDE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16340Lnet/minecraft/class_3713;field_16340:Lnet/minecraft/class_265;official NLdlp;N:Lfah;
-
SOUTH_WALL_EAST_SIDE
- Mappings:
Namespace Name Mixin selector named SOUTH_WALL_EAST_SIDELnet/minecraft/block/GrindstoneBlock;SOUTH_WALL_EAST_SIDE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16354Lnet/minecraft/class_3713;field_16354:Lnet/minecraft/class_265;official OLdlp;O:Lfah;
-
SOUTH_WALL_SIDES
- Mappings:
Namespace Name Mixin selector named SOUTH_WALL_SIDESLnet/minecraft/block/GrindstoneBlock;SOUTH_WALL_SIDES:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16369Lnet/minecraft/class_3713;field_16369:Lnet/minecraft/class_265;official PLdlp;P:Lfah;
-
SOUTH_WALL_SHAPE
- Mappings:
Namespace Name Mixin selector named SOUTH_WALL_SHAPELnet/minecraft/block/GrindstoneBlock;SOUTH_WALL_SHAPE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16399Lnet/minecraft/class_3713;field_16399:Lnet/minecraft/class_265;official QLdlp;Q:Lfah;
-
NORTH_WALL_WEST_LEG
- Mappings:
Namespace Name Mixin selector named NORTH_WALL_WEST_LEGLnet/minecraft/block/GrindstoneBlock;NORTH_WALL_WEST_LEG:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16363Lnet/minecraft/class_3713;field_16363:Lnet/minecraft/class_265;official RLdlp;R:Lfah;
-
NORTH_WALL_EAST_LEG
- Mappings:
Namespace Name Mixin selector named NORTH_WALL_EAST_LEGLnet/minecraft/block/GrindstoneBlock;NORTH_WALL_EAST_LEG:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16347Lnet/minecraft/class_3713;field_16347:Lnet/minecraft/class_265;official SLdlp;S:Lfah;
-
NORTH_WALL_WEST_HINGE
- Mappings:
Namespace Name Mixin selector named NORTH_WALL_WEST_HINGELnet/minecraft/block/GrindstoneBlock;NORTH_WALL_WEST_HINGE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16401Lnet/minecraft/class_3713;field_16401:Lnet/minecraft/class_265;official TLdlp;T:Lfah;
-
NORTH_WALL_EAST_HINGE
- Mappings:
Namespace Name Mixin selector named NORTH_WALL_EAST_HINGELnet/minecraft/block/GrindstoneBlock;NORTH_WALL_EAST_HINGE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16367Lnet/minecraft/class_3713;field_16367:Lnet/minecraft/class_265;official ULdlp;U:Lfah;
-
NORTH_WALL_WEST_SIDE
- Mappings:
Namespace Name Mixin selector named NORTH_WALL_WEST_SIDELnet/minecraft/block/GrindstoneBlock;NORTH_WALL_WEST_SIDE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16388Lnet/minecraft/class_3713;field_16388:Lnet/minecraft/class_265;official VLdlp;V:Lfah;
-
NORTH_WALL_EAST_SIDE
- Mappings:
Namespace Name Mixin selector named NORTH_WALL_EAST_SIDELnet/minecraft/block/GrindstoneBlock;NORTH_WALL_EAST_SIDE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16396Lnet/minecraft/class_3713;field_16396:Lnet/minecraft/class_265;official WLdlp;W:Lfah;
-
NORTH_WALL_SIDES
- Mappings:
Namespace Name Mixin selector named NORTH_WALL_SIDESLnet/minecraft/block/GrindstoneBlock;NORTH_WALL_SIDES:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16368Lnet/minecraft/class_3713;field_16368:Lnet/minecraft/class_265;official XLdlp;X:Lfah;
-
NORTH_WALL_SHAPE
- Mappings:
Namespace Name Mixin selector named NORTH_WALL_SHAPELnet/minecraft/block/GrindstoneBlock;NORTH_WALL_SHAPE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16356Lnet/minecraft/class_3713;field_16356:Lnet/minecraft/class_265;official YLdlp;Y:Lfah;
-
WEST_WALL_NORTH_LEG
- Mappings:
Namespace Name Mixin selector named WEST_WALL_NORTH_LEGLnet/minecraft/block/GrindstoneBlock;WEST_WALL_NORTH_LEG:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16342Lnet/minecraft/class_3713;field_16342:Lnet/minecraft/class_265;official ZLdlp;Z:Lfah;
-
WEST_WALL_SOUTH_LEG
- Mappings:
Namespace Name Mixin selector named WEST_WALL_SOUTH_LEGLnet/minecraft/block/GrindstoneBlock;WEST_WALL_SOUTH_LEG:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16358Lnet/minecraft/class_3713;field_16358:Lnet/minecraft/class_265;official aaLdlp;aa:Lfah;
-
WEST_WALL_NORTH_HINGE
- Mappings:
Namespace Name Mixin selector named WEST_WALL_NORTH_HINGELnet/minecraft/block/GrindstoneBlock;WEST_WALL_NORTH_HINGE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16390Lnet/minecraft/class_3713;field_16390:Lnet/minecraft/class_265;official abLdlp;ab:Lfah;
-
WEST_WALL_SOUTH_HINGE
- Mappings:
Namespace Name Mixin selector named WEST_WALL_SOUTH_HINGELnet/minecraft/block/GrindstoneBlock;WEST_WALL_SOUTH_HINGE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16382Lnet/minecraft/class_3713;field_16382:Lnet/minecraft/class_265;official acLdlp;ac:Lfah;
-
WEST_WALL_NORTH_SIDE
- Mappings:
Namespace Name Mixin selector named WEST_WALL_NORTH_SIDELnet/minecraft/block/GrindstoneBlock;WEST_WALL_NORTH_SIDE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16359Lnet/minecraft/class_3713;field_16359:Lnet/minecraft/class_265;official adLdlp;ad:Lfah;
-
WEST_WALL_SOUTH_SIDE
- Mappings:
Namespace Name Mixin selector named WEST_WALL_SOUTH_SIDELnet/minecraft/block/GrindstoneBlock;WEST_WALL_SOUTH_SIDE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16351Lnet/minecraft/class_3713;field_16351:Lnet/minecraft/class_265;official aeLdlp;ae:Lfah;
-
WEST_WALL_SIDES
- Mappings:
Namespace Name Mixin selector named WEST_WALL_SIDESLnet/minecraft/block/GrindstoneBlock;WEST_WALL_SIDES:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16344Lnet/minecraft/class_3713;field_16344:Lnet/minecraft/class_265;official afLdlp;af:Lfah;
-
WEST_WALL_SHAPE
- Mappings:
Namespace Name Mixin selector named WEST_WALL_SHAPELnet/minecraft/block/GrindstoneBlock;WEST_WALL_SHAPE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16376Lnet/minecraft/class_3713;field_16376:Lnet/minecraft/class_265;official agLdlp;ag:Lfah;
-
EAST_WALL_NORTH_LEG
- Mappings:
Namespace Name Mixin selector named EAST_WALL_NORTH_LEGLnet/minecraft/block/GrindstoneBlock;EAST_WALL_NORTH_LEG:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16394Lnet/minecraft/class_3713;field_16394:Lnet/minecraft/class_265;official ahLdlp;ah:Lfah;
-
EAST_WALL_SOUTH_LEG
- Mappings:
Namespace Name Mixin selector named EAST_WALL_SOUTH_LEGLnet/minecraft/block/GrindstoneBlock;EAST_WALL_SOUTH_LEG:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16375Lnet/minecraft/class_3713;field_16375:Lnet/minecraft/class_265;official aiLdlp;ai:Lfah;
-
EAST_WALL_NORTH_HINGE
- Mappings:
Namespace Name Mixin selector named EAST_WALL_NORTH_HINGELnet/minecraft/block/GrindstoneBlock;EAST_WALL_NORTH_HINGE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16345Lnet/minecraft/class_3713;field_16345:Lnet/minecraft/class_265;official ajLdlp;aj:Lfah;
-
EAST_WALL_SOUTH_HINGE
- Mappings:
Namespace Name Mixin selector named EAST_WALL_SOUTH_HINGELnet/minecraft/block/GrindstoneBlock;EAST_WALL_SOUTH_HINGE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16350Lnet/minecraft/class_3713;field_16350:Lnet/minecraft/class_265;official akLdlp;ak:Lfah;
-
EAST_WALL_NORTH_SIDE
- Mappings:
Namespace Name Mixin selector named EAST_WALL_NORTH_SIDELnet/minecraft/block/GrindstoneBlock;EAST_WALL_NORTH_SIDE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16372Lnet/minecraft/class_3713;field_16372:Lnet/minecraft/class_265;official alLdlp;al:Lfah;
-
EAST_WALL_SOUTH_SIDE
- Mappings:
Namespace Name Mixin selector named EAST_WALL_SOUTH_SIDELnet/minecraft/block/GrindstoneBlock;EAST_WALL_SOUTH_SIDE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16381Lnet/minecraft/class_3713;field_16381:Lnet/minecraft/class_265;official amLdlp;am:Lfah;
-
EAST_WALL_SIDES
- Mappings:
Namespace Name Mixin selector named EAST_WALL_SIDESLnet/minecraft/block/GrindstoneBlock;EAST_WALL_SIDES:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16391Lnet/minecraft/class_3713;field_16391:Lnet/minecraft/class_265;official anLdlp;an:Lfah;
-
EAST_WALL_SHAPE
- Mappings:
Namespace Name Mixin selector named EAST_WALL_SHAPELnet/minecraft/block/GrindstoneBlock;EAST_WALL_SHAPE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16370Lnet/minecraft/class_3713;field_16370:Lnet/minecraft/class_265;official aoLdlp;ao:Lfah;
-
WEST_CEILING_LEG
- Mappings:
Namespace Name Mixin selector named WEST_CEILING_LEGLnet/minecraft/block/GrindstoneBlock;WEST_CEILING_LEG:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16341Lnet/minecraft/class_3713;field_16341:Lnet/minecraft/class_265;official apLdlp;ap:Lfah;
-
EAST_CEILING_LEG
- Mappings:
Namespace Name Mixin selector named EAST_CEILING_LEGLnet/minecraft/block/GrindstoneBlock;EAST_CEILING_LEG:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16355Lnet/minecraft/class_3713;field_16355:Lnet/minecraft/class_265;official aqLdlp;aq:Lfah;
-
WEST_CEILING_HINGE
- Mappings:
Namespace Name Mixin selector named WEST_CEILING_HINGELnet/minecraft/block/GrindstoneBlock;WEST_CEILING_HINGE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16384Lnet/minecraft/class_3713;field_16384:Lnet/minecraft/class_265;official arLdlp;ar:Lfah;
-
EAST_CEILING_HINGE
- Mappings:
Namespace Name Mixin selector named EAST_CEILING_HINGELnet/minecraft/block/GrindstoneBlock;EAST_CEILING_HINGE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16400Lnet/minecraft/class_3713;field_16400:Lnet/minecraft/class_265;official asLdlp;as:Lfah;
-
WEST_CEILING_SIDE
- Mappings:
Namespace Name Mixin selector named WEST_CEILING_SIDELnet/minecraft/block/GrindstoneBlock;WEST_CEILING_SIDE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16364Lnet/minecraft/class_3713;field_16364:Lnet/minecraft/class_265;official atLdlp;at:Lfah;
-
EAST_CEILING_SIDE
- Mappings:
Namespace Name Mixin selector named EAST_CEILING_SIDELnet/minecraft/block/GrindstoneBlock;EAST_CEILING_SIDE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16349Lnet/minecraft/class_3713;field_16349:Lnet/minecraft/class_265;official auLdlp;au:Lfah;
-
Z_CEILING_SIDES
- Mappings:
Namespace Name Mixin selector named Z_CEILING_SIDESLnet/minecraft/block/GrindstoneBlock;Z_CEILING_SIDES:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16397Lnet/minecraft/class_3713;field_16397:Lnet/minecraft/class_265;official avLdlp;av:Lfah;
-
Z_CEILING_SHAPE
- Mappings:
Namespace Name Mixin selector named Z_CEILING_SHAPELnet/minecraft/block/GrindstoneBlock;Z_CEILING_SHAPE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16361Lnet/minecraft/class_3713;field_16361:Lnet/minecraft/class_265;official awLdlp;aw:Lfah;
-
NORTH_CEILING_LEG
- Mappings:
Namespace Name Mixin selector named NORTH_CEILING_LEGLnet/minecraft/block/GrindstoneBlock;NORTH_CEILING_LEG:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16387Lnet/minecraft/class_3713;field_16387:Lnet/minecraft/class_265;official axLdlp;ax:Lfah;
-
SOUTH_CEILING_LEG
- Mappings:
Namespace Name Mixin selector named SOUTH_CEILING_LEGLnet/minecraft/block/GrindstoneBlock;SOUTH_CEILING_LEG:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16398Lnet/minecraft/class_3713;field_16398:Lnet/minecraft/class_265;official ayLdlp;ay:Lfah;
-
NORTH_CEILING_HINGE
- Mappings:
Namespace Name Mixin selector named NORTH_CEILING_HINGELnet/minecraft/block/GrindstoneBlock;NORTH_CEILING_HINGE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16357Lnet/minecraft/class_3713;field_16357:Lnet/minecraft/class_265;official azLdlp;az:Lfah;
-
SOUTH_CEILING_HINGE
- Mappings:
Namespace Name Mixin selector named SOUTH_CEILING_HINGELnet/minecraft/block/GrindstoneBlock;SOUTH_CEILING_HINGE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16353Lnet/minecraft/class_3713;field_16353:Lnet/minecraft/class_265;official aALdlp;aA:Lfah;
-
NORTH_CEILING_SIDE
- Mappings:
Namespace Name Mixin selector named NORTH_CEILING_SIDELnet/minecraft/block/GrindstoneBlock;NORTH_CEILING_SIDE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16395Lnet/minecraft/class_3713;field_16395:Lnet/minecraft/class_265;official aBLdlp;aB:Lfah;
-
SOUTH_CEILING_SIDE
- Mappings:
Namespace Name Mixin selector named SOUTH_CEILING_SIDELnet/minecraft/block/GrindstoneBlock;SOUTH_CEILING_SIDE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16360Lnet/minecraft/class_3713;field_16360:Lnet/minecraft/class_265;official aCLdlp;aC:Lfah;
-
X_CEILING_SIDES
- Mappings:
Namespace Name Mixin selector named X_CEILING_SIDESLnet/minecraft/block/GrindstoneBlock;X_CEILING_SIDES:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16389Lnet/minecraft/class_3713;field_16389:Lnet/minecraft/class_265;official aDLdlp;aD:Lfah;
-
X_CEILING_SHAPE
- Mappings:
Namespace Name Mixin selector named X_CEILING_SHAPELnet/minecraft/block/GrindstoneBlock;X_CEILING_SHAPE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_16383Lnet/minecraft/class_3713;field_16383:Lnet/minecraft/class_265;official aELdlp;aE:Lfah;
-
TITLE
- Mappings:
Namespace Name Mixin selector named TITLELnet/minecraft/block/GrindstoneBlock;TITLE:Lnet/minecraft/text/Text;intermediary field_17364Lnet/minecraft/class_3713;field_17364:Lnet/minecraft/class_2561;official aTLdlp;aT:Lxi;
-
-
Constructor Details
-
GrindstoneBlock
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)Vintermediary <init>Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)Vofficial <init>Ldvi;<init>(Ldvi$d;)V
-
-
Method Details
-
getCodec
- Specified by:
getCodecin classWallMountedBlock- Mappings:
Namespace Name Mixin selector named getCodecLnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;intermediary method_53969Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;official aLdvi;a()Lcom/mojang/serialization/MapCodec;
-
getRenderType
Returns the block's render type (invisible, animated, model).- Overrides:
getRenderTypein classAbstractBlock- Returns:
- the block's render type (invisible, animated, model)
- See Also:
- API Note:
BlockWithEntityoverrides this to returnBlockRenderType.INVISIBLE; therefore, custom blocks extending that class must override it again to render the block.- Mappings:
Namespace Name Mixin selector named getRenderTypeLnet/minecraft/block/AbstractBlock;getRenderType(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockRenderType;intermediary method_9604Lnet/minecraft/class_4970;method_9604(Lnet/minecraft/class_2680;)Lnet/minecraft/class_2464;official a_Ldvi;a_(Ldvj;)Ldok;
-
getShape
- Mappings:
Namespace Name Mixin selector named getShapeLnet/minecraft/block/GrindstoneBlock;getShape(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/shape/VoxelShape;intermediary method_16119Lnet/minecraft/class_3713;method_16119(Lnet/minecraft/class_2680;)Lnet/minecraft/class_265;official oLdlp;o(Ldvj;)Lfah;
-
getCollisionShape
protected VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
getCollisionShapein classAbstractBlock- See Also:
- Mappings:
Namespace Name Mixin selector named getCollisionShapeLnet/minecraft/block/AbstractBlock;getCollisionShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;intermediary method_9549Lnet/minecraft/class_4970;method_9549(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;official bLdvi;b(Ldvj;Ldeg;Ljh;Lezs;)Lfah;
-
getOutlineShape
protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
getOutlineShapein classAbstractBlock- See Also:
- Mappings:
Namespace Name Mixin selector named getOutlineShapeLnet/minecraft/block/AbstractBlock;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;intermediary method_9530Lnet/minecraft/class_4970;method_9530(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;official aLdvi;a(Ldvj;Ldeg;Ljh;Lezs;)Lfah;
-
canPlaceAt
Returns whether the block can be placed atpos.Blocks with supporting block requirements should override this method. Note that this should also be checked manually during
WallMountedBlock.getStateForNeighborUpdate(net.minecraft.block.BlockState, net.minecraft.util.math.Direction, net.minecraft.block.BlockState, net.minecraft.world.WorldAccess, net.minecraft.util.math.BlockPos, net.minecraft.util.math.BlockPos)in order to break the block that lost its supporting block.This is only checked during the use of block items or by endermen, falling blocks, etc that can place blocks. This does not affect block state changes performed through
World.setBlockState(BlockPos, BlockState)call.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.- Overrides:
canPlaceAtin classWallMountedBlock- Returns:
- whether the block can be placed at
pos - See Also:
- Mappings:
Namespace Name Mixin selector named canPlaceAtLnet/minecraft/block/AbstractBlock;canPlaceAt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Zintermediary method_9558Lnet/minecraft/class_4970;method_9558(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Zofficial aLdvi;a(Ldvj;Ldfe;Ljh;)Z
-
onUse
protected ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) - Overrides:
onUsein classAbstractBlock- Mappings:
Namespace Name Mixin selector named onUseLnet/minecraft/block/AbstractBlock;onUse(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/hit/BlockHitResult;)Lnet/minecraft/util/ActionResult;intermediary method_55766Lnet/minecraft/class_4970;method_55766(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_3965;)Lnet/minecraft/class_1269;official aLdvi;a(Ldvj;Ldfb;Ljh;Lcom;Lezj;)Lbsd;
-
createScreenHandlerFactory
protected NamedScreenHandlerFactory createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.This method should be overridden for blocks with screen handlers, such as anvils. The created screen handler is usually passed to
PlayerEntity.openHandledScreen(net.minecraft.screen.NamedScreenHandlerFactory). SeeAnvilBlock.createScreenHandlerFactory(net.minecraft.block.BlockState, net.minecraft.world.World, net.minecraft.util.math.BlockPos)for basic usage.BlockWithEntitydelegates this logic to the block entity implementingNamedScreenHandlerFactory. For example, anyBlockWithEntitywhose block entity extendsLockableContainerBlockEntityneeds to overrideLockableContainerBlockEntity.createScreenHandler(int, net.minecraft.entity.player.PlayerInventory)instead of this method.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.- Overrides:
createScreenHandlerFactoryin classAbstractBlock- Returns:
- the screen handler factory or
nullif screen handler cannot be created - See Also:
- Mappings:
Namespace Name Mixin selector named createScreenHandlerFactoryLnet/minecraft/block/AbstractBlock;createScreenHandlerFactory(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/screen/NamedScreenHandlerFactory;intermediary method_17454Lnet/minecraft/class_4970;method_17454(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Lnet/minecraft/class_3908;official bLdvi;b(Ldvj;Ldfb;Ljh;)Lbsf;
-
rotate
Returnsstaterotated byrotation.By default, this returns the provided block state.
- Overrides:
rotatein classHorizontalFacingBlock- Returns:
staterotated byrotation- See Also:
- Mappings:
Namespace Name Mixin selector named rotateLnet/minecraft/block/AbstractBlock;rotate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;intermediary method_9598Lnet/minecraft/class_4970;method_9598(Lnet/minecraft/class_2680;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2680;official aLdvi;a(Ldvj;Ldor;)Ldvj;
-
mirror
Returnsstatemirrored bymirror.By default, this returns the provided block state.
- Overrides:
mirrorin classHorizontalFacingBlock- Returns:
statemirrored bymirror- See Also:
- Mappings:
Namespace Name Mixin selector named mirrorLnet/minecraft/block/AbstractBlock;mirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;intermediary method_9569Lnet/minecraft/class_4970;method_9569(Lnet/minecraft/class_2680;Lnet/minecraft/class_2415;)Lnet/minecraft/class_2680;official aLdvi;a(Ldvj;Ldna;)Ldvj;
-
appendProperties
Appends block state properties to this block. To use this, override and callStateManager.Builder.add(net.minecraft.state.property.Property<?>[])inside the method. SeePropertiesfor the list of pre-defined properties.- Overrides:
appendPropertiesin classBlock- Mappings:
Namespace Name Mixin selector named appendPropertiesLnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)Vintermediary method_9515Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)Vofficial aLdie;a(Ldvk$a;)V
-