Class GrindstoneBlock
- All Implemented Interfaces:
ItemConvertible
,ToggleableFeature
- Mappings:
Namespace Name official dgq
intermediary net/minecraft/class_3713
named net/minecraft/block/GrindstoneBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroup
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 VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
private static final Text
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
Fields inherited from class net.minecraft.block.WallMountedBlock
FACE
Fields inherited from class net.minecraft.block.HorizontalFacingBlock
FACING
Fields 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, STATE_IDS, stateManager
Fields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, velocityMultiplier
Fields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected boolean
canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected NamedScreenHandlerFactory
createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.com.mojang.serialization.MapCodec
<GrindstoneBlock> getCodec()
protected VoxelShape
getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected BlockRenderType
getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).private VoxelShape
getShape
(BlockState state) protected BlockState
mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected ActionResult
onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected BlockState
rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.Methods inherited from class net.minecraft.block.WallMountedBlock
canPlaceAt, getDirection, getPlacementState, getStateForNeighborUpdate
Methods 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, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasTopRim, isFaceFullSquare, isShapeFullCube, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canReplace, createCodec, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableId, getMaxHorizontalModelOffset, getOpacity, getRaycastShape, getRenderingSeed, getRequiredFeatures, getSettings, getSidesShape, getSoundGroup, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasRandomTicks, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, isTransparent, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onExploded, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUseWithItem, prepare, randomTick, scheduledTick
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldgq;a:Lcom/mojang/serialization/MapCodec;
intermediary field_46365
Lnet/minecraft/class_3713;field_46365:Lcom/mojang/serialization/MapCodec;
named CODEC
Lnet/minecraft/block/GrindstoneBlock;CODEC:Lcom/mojang/serialization/MapCodec;
-
WEST_FLOOR_LEG
- Mappings:
Namespace Name Mixin selector official b
Ldgq;b:Leui;
intermediary field_16379
Lnet/minecraft/class_3713;field_16379:Lnet/minecraft/class_265;
named WEST_FLOOR_LEG
Lnet/minecraft/block/GrindstoneBlock;WEST_FLOOR_LEG:Lnet/minecraft/util/shape/VoxelShape;
-
EAST_FLOOR_LEG
- Mappings:
Namespace Name Mixin selector official c
Ldgq;c:Leui;
intermediary field_16392
Lnet/minecraft/class_3713;field_16392:Lnet/minecraft/class_265;
named EAST_FLOOR_LEG
Lnet/minecraft/block/GrindstoneBlock;EAST_FLOOR_LEG:Lnet/minecraft/util/shape/VoxelShape;
-
WEST_FLOOR_HINGE
- Mappings:
Namespace Name Mixin selector official d
Ldgq;d:Leui;
intermediary field_16366
Lnet/minecraft/class_3713;field_16366:Lnet/minecraft/class_265;
named WEST_FLOOR_HINGE
Lnet/minecraft/block/GrindstoneBlock;WEST_FLOOR_HINGE:Lnet/minecraft/util/shape/VoxelShape;
-
EAST_FLOOR_HINGE
- Mappings:
Namespace Name Mixin selector official e
Ldgq;e:Leui;
intermediary field_16339
Lnet/minecraft/class_3713;field_16339:Lnet/minecraft/class_265;
named EAST_FLOOR_HINGE
Lnet/minecraft/block/GrindstoneBlock;EAST_FLOOR_HINGE:Lnet/minecraft/util/shape/VoxelShape;
-
WEST_FLOOR_SIDE
- Mappings:
Namespace Name Mixin selector official f
Ldgq;f:Leui;
intermediary field_16348
Lnet/minecraft/class_3713;field_16348:Lnet/minecraft/class_265;
named WEST_FLOOR_SIDE
Lnet/minecraft/block/GrindstoneBlock;WEST_FLOOR_SIDE:Lnet/minecraft/util/shape/VoxelShape;
-
EAST_FLOOR_SIDE
- Mappings:
Namespace Name Mixin selector official g
Ldgq;g:Leui;
intermediary field_16365
Lnet/minecraft/class_3713;field_16365:Lnet/minecraft/class_265;
named EAST_FLOOR_SIDE
Lnet/minecraft/block/GrindstoneBlock;EAST_FLOOR_SIDE:Lnet/minecraft/util/shape/VoxelShape;
-
Z_FLOOR_SIDES
- Mappings:
Namespace Name Mixin selector official h
Ldgq;h:Leui;
intermediary field_16385
Lnet/minecraft/class_3713;field_16385:Lnet/minecraft/class_265;
named Z_FLOOR_SIDES
Lnet/minecraft/block/GrindstoneBlock;Z_FLOOR_SIDES:Lnet/minecraft/util/shape/VoxelShape;
-
Z_FLOOR_SHAPE
- Mappings:
Namespace Name Mixin selector official i
Ldgq;i:Leui;
intermediary field_16380
Lnet/minecraft/class_3713;field_16380:Lnet/minecraft/class_265;
named Z_FLOOR_SHAPE
Lnet/minecraft/block/GrindstoneBlock;Z_FLOOR_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
NORTH_FLOOR_LEG
- Mappings:
Namespace Name Mixin selector official j
Ldgq;j:Leui;
intermediary field_16373
Lnet/minecraft/class_3713;field_16373:Lnet/minecraft/class_265;
named NORTH_FLOOR_LEG
Lnet/minecraft/block/GrindstoneBlock;NORTH_FLOOR_LEG:Lnet/minecraft/util/shape/VoxelShape;
-
SOUTH_FLOOR_LEG
- Mappings:
Namespace Name Mixin selector official k
Ldgq;k:Leui;
intermediary field_16346
Lnet/minecraft/class_3713;field_16346:Lnet/minecraft/class_265;
named SOUTH_FLOOR_LEG
Lnet/minecraft/block/GrindstoneBlock;SOUTH_FLOOR_LEG:Lnet/minecraft/util/shape/VoxelShape;
-
NORTH_FLOOR_HINGE
- Mappings:
Namespace Name Mixin selector official l
Ldgq;l:Leui;
intermediary field_16343
Lnet/minecraft/class_3713;field_16343:Lnet/minecraft/class_265;
named NORTH_FLOOR_HINGE
Lnet/minecraft/block/GrindstoneBlock;NORTH_FLOOR_HINGE:Lnet/minecraft/util/shape/VoxelShape;
-
SOUTH_FLOOR_HINGE
- Mappings:
Namespace Name Mixin selector official m
Ldgq;m:Leui;
intermediary field_16374
Lnet/minecraft/class_3713;field_16374:Lnet/minecraft/class_265;
named SOUTH_FLOOR_HINGE
Lnet/minecraft/block/GrindstoneBlock;SOUTH_FLOOR_HINGE:Lnet/minecraft/util/shape/VoxelShape;
-
NORTH_FLOOR_SIDE
- Mappings:
Namespace Name Mixin selector official n
Ldgq;n:Leui;
intermediary field_16386
Lnet/minecraft/class_3713;field_16386:Lnet/minecraft/class_265;
named NORTH_FLOOR_SIDE
Lnet/minecraft/block/GrindstoneBlock;NORTH_FLOOR_SIDE:Lnet/minecraft/util/shape/VoxelShape;
-
SOUTH_FLOOR_SIDE
- Mappings:
Namespace Name Mixin selector official o
Ldgq;o:Leui;
intermediary field_16378
Lnet/minecraft/class_3713;field_16378:Lnet/minecraft/class_265;
named SOUTH_FLOOR_SIDE
Lnet/minecraft/block/GrindstoneBlock;SOUTH_FLOOR_SIDE:Lnet/minecraft/util/shape/VoxelShape;
-
X_FLOOR_SIDES
- Mappings:
Namespace Name Mixin selector official F
Ldgq;F:Leui;
intermediary field_16362
Lnet/minecraft/class_3713;field_16362:Lnet/minecraft/class_265;
named X_FLOOR_SIDES
Lnet/minecraft/block/GrindstoneBlock;X_FLOOR_SIDES:Lnet/minecraft/util/shape/VoxelShape;
-
X_FLOOR_SHAPE
- Mappings:
Namespace Name Mixin selector official G
Ldgq;G:Leui;
intermediary field_16338
Lnet/minecraft/class_3713;field_16338:Lnet/minecraft/class_265;
named X_FLOOR_SHAPE
Lnet/minecraft/block/GrindstoneBlock;X_FLOOR_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SOUTH_WALL_WEST_LEG
- Mappings:
Namespace Name Mixin selector official H
Ldgq;H:Leui;
intermediary field_16352
Lnet/minecraft/class_3713;field_16352:Lnet/minecraft/class_265;
named SOUTH_WALL_WEST_LEG
Lnet/minecraft/block/GrindstoneBlock;SOUTH_WALL_WEST_LEG:Lnet/minecraft/util/shape/VoxelShape;
-
SOUTH_WALL_EAST_LEG
- Mappings:
Namespace Name Mixin selector official I
Ldgq;I:Leui;
intermediary field_16377
Lnet/minecraft/class_3713;field_16377:Lnet/minecraft/class_265;
named SOUTH_WALL_EAST_LEG
Lnet/minecraft/block/GrindstoneBlock;SOUTH_WALL_EAST_LEG:Lnet/minecraft/util/shape/VoxelShape;
-
SOUTH_WALL_WEST_HINGE
- Mappings:
Namespace Name Mixin selector official J
Ldgq;J:Leui;
intermediary field_16393
Lnet/minecraft/class_3713;field_16393:Lnet/minecraft/class_265;
named SOUTH_WALL_WEST_HINGE
Lnet/minecraft/block/GrindstoneBlock;SOUTH_WALL_WEST_HINGE:Lnet/minecraft/util/shape/VoxelShape;
-
SOUTH_WALL_EAST_HINGE
- Mappings:
Namespace Name Mixin selector official L
Ldgq;L:Leui;
intermediary field_16371
Lnet/minecraft/class_3713;field_16371:Lnet/minecraft/class_265;
named SOUTH_WALL_EAST_HINGE
Lnet/minecraft/block/GrindstoneBlock;SOUTH_WALL_EAST_HINGE:Lnet/minecraft/util/shape/VoxelShape;
-
SOUTH_WALL_WEST_SIDE
- Mappings:
Namespace Name Mixin selector official M
Ldgq;M:Leui;
intermediary field_16340
Lnet/minecraft/class_3713;field_16340:Lnet/minecraft/class_265;
named SOUTH_WALL_WEST_SIDE
Lnet/minecraft/block/GrindstoneBlock;SOUTH_WALL_WEST_SIDE:Lnet/minecraft/util/shape/VoxelShape;
-
SOUTH_WALL_EAST_SIDE
- Mappings:
Namespace Name Mixin selector official N
Ldgq;N:Leui;
intermediary field_16354
Lnet/minecraft/class_3713;field_16354:Lnet/minecraft/class_265;
named SOUTH_WALL_EAST_SIDE
Lnet/minecraft/block/GrindstoneBlock;SOUTH_WALL_EAST_SIDE:Lnet/minecraft/util/shape/VoxelShape;
-
SOUTH_WALL_SIDES
- Mappings:
Namespace Name Mixin selector official O
Ldgq;O:Leui;
intermediary field_16369
Lnet/minecraft/class_3713;field_16369:Lnet/minecraft/class_265;
named SOUTH_WALL_SIDES
Lnet/minecraft/block/GrindstoneBlock;SOUTH_WALL_SIDES:Lnet/minecraft/util/shape/VoxelShape;
-
SOUTH_WALL_SHAPE
- Mappings:
Namespace Name Mixin selector official P
Ldgq;P:Leui;
intermediary field_16399
Lnet/minecraft/class_3713;field_16399:Lnet/minecraft/class_265;
named SOUTH_WALL_SHAPE
Lnet/minecraft/block/GrindstoneBlock;SOUTH_WALL_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
NORTH_WALL_WEST_LEG
- Mappings:
Namespace Name Mixin selector official Q
Ldgq;Q:Leui;
intermediary field_16363
Lnet/minecraft/class_3713;field_16363:Lnet/minecraft/class_265;
named NORTH_WALL_WEST_LEG
Lnet/minecraft/block/GrindstoneBlock;NORTH_WALL_WEST_LEG:Lnet/minecraft/util/shape/VoxelShape;
-
NORTH_WALL_EAST_LEG
- Mappings:
Namespace Name Mixin selector official R
Ldgq;R:Leui;
intermediary field_16347
Lnet/minecraft/class_3713;field_16347:Lnet/minecraft/class_265;
named NORTH_WALL_EAST_LEG
Lnet/minecraft/block/GrindstoneBlock;NORTH_WALL_EAST_LEG:Lnet/minecraft/util/shape/VoxelShape;
-
NORTH_WALL_WEST_HINGE
- Mappings:
Namespace Name Mixin selector official S
Ldgq;S:Leui;
intermediary field_16401
Lnet/minecraft/class_3713;field_16401:Lnet/minecraft/class_265;
named NORTH_WALL_WEST_HINGE
Lnet/minecraft/block/GrindstoneBlock;NORTH_WALL_WEST_HINGE:Lnet/minecraft/util/shape/VoxelShape;
-
NORTH_WALL_EAST_HINGE
- Mappings:
Namespace Name Mixin selector official T
Ldgq;T:Leui;
intermediary field_16367
Lnet/minecraft/class_3713;field_16367:Lnet/minecraft/class_265;
named NORTH_WALL_EAST_HINGE
Lnet/minecraft/block/GrindstoneBlock;NORTH_WALL_EAST_HINGE:Lnet/minecraft/util/shape/VoxelShape;
-
NORTH_WALL_WEST_SIDE
- Mappings:
Namespace Name Mixin selector official U
Ldgq;U:Leui;
intermediary field_16388
Lnet/minecraft/class_3713;field_16388:Lnet/minecraft/class_265;
named NORTH_WALL_WEST_SIDE
Lnet/minecraft/block/GrindstoneBlock;NORTH_WALL_WEST_SIDE:Lnet/minecraft/util/shape/VoxelShape;
-
NORTH_WALL_EAST_SIDE
- Mappings:
Namespace Name Mixin selector official V
Ldgq;V:Leui;
intermediary field_16396
Lnet/minecraft/class_3713;field_16396:Lnet/minecraft/class_265;
named NORTH_WALL_EAST_SIDE
Lnet/minecraft/block/GrindstoneBlock;NORTH_WALL_EAST_SIDE:Lnet/minecraft/util/shape/VoxelShape;
-
NORTH_WALL_SIDES
- Mappings:
Namespace Name Mixin selector official W
Ldgq;W:Leui;
intermediary field_16368
Lnet/minecraft/class_3713;field_16368:Lnet/minecraft/class_265;
named NORTH_WALL_SIDES
Lnet/minecraft/block/GrindstoneBlock;NORTH_WALL_SIDES:Lnet/minecraft/util/shape/VoxelShape;
-
NORTH_WALL_SHAPE
- Mappings:
Namespace Name Mixin selector official X
Ldgq;X:Leui;
intermediary field_16356
Lnet/minecraft/class_3713;field_16356:Lnet/minecraft/class_265;
named NORTH_WALL_SHAPE
Lnet/minecraft/block/GrindstoneBlock;NORTH_WALL_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
WEST_WALL_NORTH_LEG
- Mappings:
Namespace Name Mixin selector official Y
Ldgq;Y:Leui;
intermediary field_16342
Lnet/minecraft/class_3713;field_16342:Lnet/minecraft/class_265;
named WEST_WALL_NORTH_LEG
Lnet/minecraft/block/GrindstoneBlock;WEST_WALL_NORTH_LEG:Lnet/minecraft/util/shape/VoxelShape;
-
WEST_WALL_SOUTH_LEG
- Mappings:
Namespace Name Mixin selector official Z
Ldgq;Z:Leui;
intermediary field_16358
Lnet/minecraft/class_3713;field_16358:Lnet/minecraft/class_265;
named WEST_WALL_SOUTH_LEG
Lnet/minecraft/block/GrindstoneBlock;WEST_WALL_SOUTH_LEG:Lnet/minecraft/util/shape/VoxelShape;
-
WEST_WALL_NORTH_HINGE
- Mappings:
Namespace Name Mixin selector official aa
Ldgq;aa:Leui;
intermediary field_16390
Lnet/minecraft/class_3713;field_16390:Lnet/minecraft/class_265;
named WEST_WALL_NORTH_HINGE
Lnet/minecraft/block/GrindstoneBlock;WEST_WALL_NORTH_HINGE:Lnet/minecraft/util/shape/VoxelShape;
-
WEST_WALL_SOUTH_HINGE
- Mappings:
Namespace Name Mixin selector official ab
Ldgq;ab:Leui;
intermediary field_16382
Lnet/minecraft/class_3713;field_16382:Lnet/minecraft/class_265;
named WEST_WALL_SOUTH_HINGE
Lnet/minecraft/block/GrindstoneBlock;WEST_WALL_SOUTH_HINGE:Lnet/minecraft/util/shape/VoxelShape;
-
WEST_WALL_NORTH_SIDE
- Mappings:
Namespace Name Mixin selector official ac
Ldgq;ac:Leui;
intermediary field_16359
Lnet/minecraft/class_3713;field_16359:Lnet/minecraft/class_265;
named WEST_WALL_NORTH_SIDE
Lnet/minecraft/block/GrindstoneBlock;WEST_WALL_NORTH_SIDE:Lnet/minecraft/util/shape/VoxelShape;
-
WEST_WALL_SOUTH_SIDE
- Mappings:
Namespace Name Mixin selector official ad
Ldgq;ad:Leui;
intermediary field_16351
Lnet/minecraft/class_3713;field_16351:Lnet/minecraft/class_265;
named WEST_WALL_SOUTH_SIDE
Lnet/minecraft/block/GrindstoneBlock;WEST_WALL_SOUTH_SIDE:Lnet/minecraft/util/shape/VoxelShape;
-
WEST_WALL_SIDES
- Mappings:
Namespace Name Mixin selector official ae
Ldgq;ae:Leui;
intermediary field_16344
Lnet/minecraft/class_3713;field_16344:Lnet/minecraft/class_265;
named WEST_WALL_SIDES
Lnet/minecraft/block/GrindstoneBlock;WEST_WALL_SIDES:Lnet/minecraft/util/shape/VoxelShape;
-
WEST_WALL_SHAPE
- Mappings:
Namespace Name Mixin selector official af
Ldgq;af:Leui;
intermediary field_16376
Lnet/minecraft/class_3713;field_16376:Lnet/minecraft/class_265;
named WEST_WALL_SHAPE
Lnet/minecraft/block/GrindstoneBlock;WEST_WALL_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
EAST_WALL_NORTH_LEG
- Mappings:
Namespace Name Mixin selector official ag
Ldgq;ag:Leui;
intermediary field_16394
Lnet/minecraft/class_3713;field_16394:Lnet/minecraft/class_265;
named EAST_WALL_NORTH_LEG
Lnet/minecraft/block/GrindstoneBlock;EAST_WALL_NORTH_LEG:Lnet/minecraft/util/shape/VoxelShape;
-
EAST_WALL_SOUTH_LEG
- Mappings:
Namespace Name Mixin selector official ah
Ldgq;ah:Leui;
intermediary field_16375
Lnet/minecraft/class_3713;field_16375:Lnet/minecraft/class_265;
named EAST_WALL_SOUTH_LEG
Lnet/minecraft/block/GrindstoneBlock;EAST_WALL_SOUTH_LEG:Lnet/minecraft/util/shape/VoxelShape;
-
EAST_WALL_NORTH_HINGE
- Mappings:
Namespace Name Mixin selector official ai
Ldgq;ai:Leui;
intermediary field_16345
Lnet/minecraft/class_3713;field_16345:Lnet/minecraft/class_265;
named EAST_WALL_NORTH_HINGE
Lnet/minecraft/block/GrindstoneBlock;EAST_WALL_NORTH_HINGE:Lnet/minecraft/util/shape/VoxelShape;
-
EAST_WALL_SOUTH_HINGE
- Mappings:
Namespace Name Mixin selector official aj
Ldgq;aj:Leui;
intermediary field_16350
Lnet/minecraft/class_3713;field_16350:Lnet/minecraft/class_265;
named EAST_WALL_SOUTH_HINGE
Lnet/minecraft/block/GrindstoneBlock;EAST_WALL_SOUTH_HINGE:Lnet/minecraft/util/shape/VoxelShape;
-
EAST_WALL_NORTH_SIDE
- Mappings:
Namespace Name Mixin selector official ak
Ldgq;ak:Leui;
intermediary field_16372
Lnet/minecraft/class_3713;field_16372:Lnet/minecraft/class_265;
named EAST_WALL_NORTH_SIDE
Lnet/minecraft/block/GrindstoneBlock;EAST_WALL_NORTH_SIDE:Lnet/minecraft/util/shape/VoxelShape;
-
EAST_WALL_SOUTH_SIDE
- Mappings:
Namespace Name Mixin selector official al
Ldgq;al:Leui;
intermediary field_16381
Lnet/minecraft/class_3713;field_16381:Lnet/minecraft/class_265;
named EAST_WALL_SOUTH_SIDE
Lnet/minecraft/block/GrindstoneBlock;EAST_WALL_SOUTH_SIDE:Lnet/minecraft/util/shape/VoxelShape;
-
EAST_WALL_SIDES
- Mappings:
Namespace Name Mixin selector official am
Ldgq;am:Leui;
intermediary field_16391
Lnet/minecraft/class_3713;field_16391:Lnet/minecraft/class_265;
named EAST_WALL_SIDES
Lnet/minecraft/block/GrindstoneBlock;EAST_WALL_SIDES:Lnet/minecraft/util/shape/VoxelShape;
-
EAST_WALL_SHAPE
- Mappings:
Namespace Name Mixin selector official an
Ldgq;an:Leui;
intermediary field_16370
Lnet/minecraft/class_3713;field_16370:Lnet/minecraft/class_265;
named EAST_WALL_SHAPE
Lnet/minecraft/block/GrindstoneBlock;EAST_WALL_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
WEST_CEILING_LEG
- Mappings:
Namespace Name Mixin selector official ao
Ldgq;ao:Leui;
intermediary field_16341
Lnet/minecraft/class_3713;field_16341:Lnet/minecraft/class_265;
named WEST_CEILING_LEG
Lnet/minecraft/block/GrindstoneBlock;WEST_CEILING_LEG:Lnet/minecraft/util/shape/VoxelShape;
-
EAST_CEILING_LEG
- Mappings:
Namespace Name Mixin selector official ap
Ldgq;ap:Leui;
intermediary field_16355
Lnet/minecraft/class_3713;field_16355:Lnet/minecraft/class_265;
named EAST_CEILING_LEG
Lnet/minecraft/block/GrindstoneBlock;EAST_CEILING_LEG:Lnet/minecraft/util/shape/VoxelShape;
-
WEST_CEILING_HINGE
- Mappings:
Namespace Name Mixin selector official aq
Ldgq;aq:Leui;
intermediary field_16384
Lnet/minecraft/class_3713;field_16384:Lnet/minecraft/class_265;
named WEST_CEILING_HINGE
Lnet/minecraft/block/GrindstoneBlock;WEST_CEILING_HINGE:Lnet/minecraft/util/shape/VoxelShape;
-
EAST_CEILING_HINGE
- Mappings:
Namespace Name Mixin selector official ar
Ldgq;ar:Leui;
intermediary field_16400
Lnet/minecraft/class_3713;field_16400:Lnet/minecraft/class_265;
named EAST_CEILING_HINGE
Lnet/minecraft/block/GrindstoneBlock;EAST_CEILING_HINGE:Lnet/minecraft/util/shape/VoxelShape;
-
WEST_CEILING_SIDE
- Mappings:
Namespace Name Mixin selector official as
Ldgq;as:Leui;
intermediary field_16364
Lnet/minecraft/class_3713;field_16364:Lnet/minecraft/class_265;
named WEST_CEILING_SIDE
Lnet/minecraft/block/GrindstoneBlock;WEST_CEILING_SIDE:Lnet/minecraft/util/shape/VoxelShape;
-
EAST_CEILING_SIDE
- Mappings:
Namespace Name Mixin selector official at
Ldgq;at:Leui;
intermediary field_16349
Lnet/minecraft/class_3713;field_16349:Lnet/minecraft/class_265;
named EAST_CEILING_SIDE
Lnet/minecraft/block/GrindstoneBlock;EAST_CEILING_SIDE:Lnet/minecraft/util/shape/VoxelShape;
-
Z_CEILING_SIDES
- Mappings:
Namespace Name Mixin selector official au
Ldgq;au:Leui;
intermediary field_16397
Lnet/minecraft/class_3713;field_16397:Lnet/minecraft/class_265;
named Z_CEILING_SIDES
Lnet/minecraft/block/GrindstoneBlock;Z_CEILING_SIDES:Lnet/minecraft/util/shape/VoxelShape;
-
Z_CEILING_SHAPE
- Mappings:
Namespace Name Mixin selector official av
Ldgq;av:Leui;
intermediary field_16361
Lnet/minecraft/class_3713;field_16361:Lnet/minecraft/class_265;
named Z_CEILING_SHAPE
Lnet/minecraft/block/GrindstoneBlock;Z_CEILING_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
NORTH_CEILING_LEG
- Mappings:
Namespace Name Mixin selector official aw
Ldgq;aw:Leui;
intermediary field_16387
Lnet/minecraft/class_3713;field_16387:Lnet/minecraft/class_265;
named NORTH_CEILING_LEG
Lnet/minecraft/block/GrindstoneBlock;NORTH_CEILING_LEG:Lnet/minecraft/util/shape/VoxelShape;
-
SOUTH_CEILING_LEG
- Mappings:
Namespace Name Mixin selector official ax
Ldgq;ax:Leui;
intermediary field_16398
Lnet/minecraft/class_3713;field_16398:Lnet/minecraft/class_265;
named SOUTH_CEILING_LEG
Lnet/minecraft/block/GrindstoneBlock;SOUTH_CEILING_LEG:Lnet/minecraft/util/shape/VoxelShape;
-
NORTH_CEILING_HINGE
- Mappings:
Namespace Name Mixin selector official ay
Ldgq;ay:Leui;
intermediary field_16357
Lnet/minecraft/class_3713;field_16357:Lnet/minecraft/class_265;
named NORTH_CEILING_HINGE
Lnet/minecraft/block/GrindstoneBlock;NORTH_CEILING_HINGE:Lnet/minecraft/util/shape/VoxelShape;
-
SOUTH_CEILING_HINGE
- Mappings:
Namespace Name Mixin selector official az
Ldgq;az:Leui;
intermediary field_16353
Lnet/minecraft/class_3713;field_16353:Lnet/minecraft/class_265;
named SOUTH_CEILING_HINGE
Lnet/minecraft/block/GrindstoneBlock;SOUTH_CEILING_HINGE:Lnet/minecraft/util/shape/VoxelShape;
-
NORTH_CEILING_SIDE
- Mappings:
Namespace Name Mixin selector official aA
Ldgq;aA:Leui;
intermediary field_16395
Lnet/minecraft/class_3713;field_16395:Lnet/minecraft/class_265;
named NORTH_CEILING_SIDE
Lnet/minecraft/block/GrindstoneBlock;NORTH_CEILING_SIDE:Lnet/minecraft/util/shape/VoxelShape;
-
SOUTH_CEILING_SIDE
- Mappings:
Namespace Name Mixin selector official aB
Ldgq;aB:Leui;
intermediary field_16360
Lnet/minecraft/class_3713;field_16360:Lnet/minecraft/class_265;
named SOUTH_CEILING_SIDE
Lnet/minecraft/block/GrindstoneBlock;SOUTH_CEILING_SIDE:Lnet/minecraft/util/shape/VoxelShape;
-
X_CEILING_SIDES
- Mappings:
Namespace Name Mixin selector official aC
Ldgq;aC:Leui;
intermediary field_16389
Lnet/minecraft/class_3713;field_16389:Lnet/minecraft/class_265;
named X_CEILING_SIDES
Lnet/minecraft/block/GrindstoneBlock;X_CEILING_SIDES:Lnet/minecraft/util/shape/VoxelShape;
-
X_CEILING_SHAPE
- Mappings:
Namespace Name Mixin selector official aD
Ldgq;aD:Leui;
intermediary field_16383
Lnet/minecraft/class_3713;field_16383:Lnet/minecraft/class_265;
named X_CEILING_SHAPE
Lnet/minecraft/block/GrindstoneBlock;X_CEILING_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
TITLE
- Mappings:
Namespace Name Mixin selector official aR
Ldgq;aR:Lwu;
intermediary field_17364
Lnet/minecraft/class_3713;field_17364:Lnet/minecraft/class_2561;
named TITLE
Lnet/minecraft/block/GrindstoneBlock;TITLE:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
GrindstoneBlock
- Mappings:
Namespace Name Mixin selector official <init>
Ldqg;<init>(Ldqg$d;)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
-
getCodec
- Specified by:
getCodec
in classWallMountedBlock
- Mappings:
Namespace Name Mixin selector official a
Ldqg;a()Lcom/mojang/serialization/MapCodec;
intermediary method_53969
Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;
named getCodec
Lnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;
-
getRenderType
Returns the block's render type (invisible, animated, model).- Overrides:
getRenderType
in classAbstractBlock
- Returns:
- the block's render type (invisible, animated, model)
- See Also:
- Mappings:
Namespace Name Mixin selector official a_
Ldqg;a_(Ldqh;)Ldjk;
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;
-
getShape
- Mappings:
Namespace Name Mixin selector official n
Ldgq;n(Ldqh;)Leui;
intermediary method_16119
Lnet/minecraft/class_3713;method_16119(Lnet/minecraft/class_2680;)Lnet/minecraft/class_265;
named getShape
Lnet/minecraft/block/GrindstoneBlock;getShape(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/shape/VoxelShape;
-
getCollisionShape
protected VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
getCollisionShape
in classAbstractBlock
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Ldqg;b(Ldqh;Lczj;Lin;Letu;)Leui;
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;
-
getOutlineShape
protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
getOutlineShape
in classAbstractBlock
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Ldqg;a(Ldqh;Lczj;Lin;Letu;)Leui;
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;
-
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
AbstractBlock.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:
canPlaceAt
in classWallMountedBlock
- Returns:
- whether the block can be placed at
pos
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Ldqg;a(Ldqh;Ldag;Lin;)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
-
onUse
protected ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) - Overrides:
onUse
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Ldqg;a(Ldqh;Ldad;Lin;Lclh;Letl;)Lbpm;
intermediary method_55766
Lnet/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;
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/hit/BlockHitResult;)Lnet/minecraft/util/ActionResult;
-
createScreenHandlerFactory
protected NamedScreenHandlerFactory createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if 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.BlockWithEntity
delegates this logic to the block entity implementingNamedScreenHandlerFactory
. For example, anyBlockWithEntity
whose block entity extendsLockableContainerBlockEntity
needs 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:
createScreenHandlerFactory
in classAbstractBlock
- Returns:
- the screen handler factory or
null
if screen handler cannot be created - See Also:
- Mappings:
Namespace Name Mixin selector official b
Ldqg;b(Ldqh;Ldad;Lin;)Lbpq;
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;
-
rotate
Returnsstate
rotated byrotation
.By default, this returns the provided block state.
- Overrides:
rotate
in classHorizontalFacingBlock
- Returns:
state
rotated byrotation
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Ldqg;a(Ldqh;Ldjr;)Ldqh;
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
Returnsstate
mirrored bymirror
.By default, this returns the provided block state.
- Overrides:
mirror
in classHorizontalFacingBlock
- Returns:
state
mirrored bymirror
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Ldqg;a(Ldqh;Ldib;)Ldqh;
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;
-
appendProperties
Appends block state properties to this block. To use this, override and callStateManager.Builder.add(net.minecraft.state.property.Property<?>[])
inside the method. SeeProperties
for the list of pre-defined properties.- Overrides:
appendProperties
in classBlock
- Mappings:
Namespace Name Mixin selector official a
Ldde;a(Ldqi$a;)V
intermediary method_9515
Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)V
named appendProperties
Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
-