Package net.minecraft.world.level.block
Class GrindstoneBlock
- All Implemented Interfaces:
FeatureElement
,ItemLike
,IBlockExtension
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.block.Block
Block.BlockStatePairKey
Nested classes/interfaces inherited from class net.minecraft.world.level.block.state.BlockBehaviour
BlockBehaviour.BlockStateBase, BlockBehaviour.OffsetFunction, BlockBehaviour.OffsetType, BlockBehaviour.Properties, BlockBehaviour.StateArgumentPredicate<A>, BlockBehaviour.StatePredicate
-
Field Summary
Modifier and TypeFieldDescriptionstatic 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 com.mojang.serialization.MapCodec
<GrindstoneBlock> private static final Component
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
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
static final VoxelShape
Fields inherited from class net.minecraft.world.level.block.FaceAttachedHorizontalDirectionalBlock
FACE
Fields inherited from class net.minecraft.world.level.block.HorizontalDirectionalBlock
FACING
Fields inherited from class net.minecraft.world.level.block.Block
BLOCK_STATE_REGISTRY, INDESTRUCTIBLE, INSTANT, stateDefinition, UPDATE_ALL, UPDATE_ALL_IMMEDIATE, UPDATE_CLIENTS, UPDATE_IMMEDIATE, UPDATE_INVISIBLE, UPDATE_KNOWN_SHAPE, UPDATE_LIMIT, UPDATE_MOVE_BY_PISTON, UPDATE_NEIGHBORS, UPDATE_NONE, UPDATE_SUPPRESS_DROPS
Fields inherited from class net.minecraft.world.level.block.state.BlockBehaviour
drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, properties, requiredFeatures, soundType, speedFactor, UPDATE_SHAPE_ORDER
Fields inherited from interface net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
canSurvive
(BlockState p_53828_, LevelReader p_53829_, BlockPos p_53830_) com.mojang.serialization.MapCodec
<GrindstoneBlock> codec()
protected void
protected VoxelShape
getCollisionShape
(BlockState p_53851_, BlockGetter p_53852_, BlockPos p_53853_, CollisionContext p_53854_) protected MenuProvider
getMenuProvider
(BlockState p_53847_, Level p_53848_, BlockPos p_53849_) protected RenderShape
getRenderShape
(BlockState p_53840_) protected VoxelShape
getShape
(BlockState p_53842_, BlockGetter p_53843_, BlockPos p_53844_, CollisionContext p_53845_) private VoxelShape
getVoxelShape
(BlockState p_53856_) protected boolean
isPathfindable
(BlockState p_53816_, PathComputationType p_53819_) protected BlockState
mirror
(BlockState p_53832_, Mirror p_53833_) protected BlockState
rotate
(BlockState p_53835_, Rotation p_53836_) protected InteractionResult
useWithoutItem
(BlockState p_53821_, Level p_53822_, BlockPos p_53823_, Player p_53824_, BlockHitResult p_53826_) Methods inherited from class net.minecraft.world.level.block.FaceAttachedHorizontalDirectionalBlock
canAttach, getConnectedDirection, getStateForPlacement, updateShape
Methods inherited from class net.minecraft.world.level.block.Block
animateTick, appendHoverText, asBlock, asItem, box, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, fallOn, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getId, getJumpFactor, getName, getRenderPropertiesInternal, getShapeForEachState, getSpeedFactor, getStateDefinition, handlePrecipitation, hasDynamicShape, initializeClient, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, popResourceFromFace, pushEntitiesUp, registerDefaultState, setPlacedBy, shouldRenderFace, spawnDestroyParticles, stateById, stepOn, toString, tryDropExperience, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded, withPropertiesOf
Methods inherited from class net.minecraft.world.level.block.state.BlockBehaviour
attack, canBeReplaced, canBeReplaced, defaultDestroyTime, defaultMapColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getDestroyProgress, getDirectSignal, getDrops, getFluidState, getInteractionShape, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getOcclusionShape, getSeed, getShadeBrightness, getSignal, getSoundType, getVisualShape, hasAnalogOutputSignal, isAir, isCollisionShapeFullBlock, isOcclusionShapeFullBlock, isRandomlyTicking, isSignalSource, neighborChanged, onExplosionHit, onPlace, onProjectileHit, onRemove, propagatesSkylightDown, properties, propertiesCodec, randomTick, requiredFeatures, simpleCodec, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, useItemOn, useShapeForLightOcclusion
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.world.flag.FeatureElement
isEnabled
Methods inherited from interface net.neoforged.neoforge.common.extensions.IBlockExtension
addLandingEffects, addRunningEffects, canBeHydrated, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, collisionExtendsVertically, getAdjacentBlockPathType, getAppearance, getBeaconColorMultiplier, getBedDirection, getBlockPathType, getBubbleColumnDirection, getCloneItemStack, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFriction, getLightEmission, getMapColor, getPistonPushReaction, getRespawnPosition, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hasDynamicLightEmission, hidesNeighborFace, isBed, isBurning, isConduitFrame, isEmpty, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, makesOpenTrapdoorAboveClimbable, onBlockExploded, onBlockStateChange, onCaughtFire, onDestroyedByPlayer, onDestroyedByPushReaction, onNeighborChange, onTreeGrow, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay, supportsExternalFaceHiding
-
Field Details
-
CODEC
-
FLOOR_NORTH_SOUTH_LEFT_POST
-
FLOOR_NORTH_SOUTH_RIGHT_POST
-
FLOOR_NORTH_SOUTH_LEFT_PIVOT
-
FLOOR_NORTH_SOUTH_RIGHT_PIVOT
-
FLOOR_NORTH_SOUTH_LEFT_LEG
-
FLOOR_NORTH_SOUTH_RIGHT_LEG
-
FLOOR_NORTH_SOUTH_ALL_LEGS
-
FLOOR_NORTH_SOUTH_GRINDSTONE
-
FLOOR_EAST_WEST_LEFT_POST
-
FLOOR_EAST_WEST_RIGHT_POST
-
FLOOR_EAST_WEST_LEFT_PIVOT
-
FLOOR_EAST_WEST_RIGHT_PIVOT
-
FLOOR_EAST_WEST_LEFT_LEG
-
FLOOR_EAST_WEST_RIGHT_LEG
-
FLOOR_EAST_WEST_ALL_LEGS
-
FLOOR_EAST_WEST_GRINDSTONE
-
WALL_SOUTH_LEFT_POST
-
WALL_SOUTH_RIGHT_POST
-
WALL_SOUTH_LEFT_PIVOT
-
WALL_SOUTH_RIGHT_PIVOT
-
WALL_SOUTH_LEFT_LEG
-
WALL_SOUTH_RIGHT_LEG
-
WALL_SOUTH_ALL_LEGS
-
WALL_SOUTH_GRINDSTONE
-
WALL_NORTH_LEFT_POST
-
WALL_NORTH_RIGHT_POST
-
WALL_NORTH_LEFT_PIVOT
-
WALL_NORTH_RIGHT_PIVOT
-
WALL_NORTH_LEFT_LEG
-
WALL_NORTH_RIGHT_LEG
-
WALL_NORTH_ALL_LEGS
-
WALL_NORTH_GRINDSTONE
-
WALL_WEST_LEFT_POST
-
WALL_WEST_RIGHT_POST
-
WALL_WEST_LEFT_PIVOT
-
WALL_WEST_RIGHT_PIVOT
-
WALL_WEST_LEFT_LEG
-
WALL_WEST_RIGHT_LEG
-
WALL_WEST_ALL_LEGS
-
WALL_WEST_GRINDSTONE
-
WALL_EAST_LEFT_POST
-
WALL_EAST_RIGHT_POST
-
WALL_EAST_LEFT_PIVOT
-
WALL_EAST_RIGHT_PIVOT
-
WALL_EAST_LEFT_LEG
-
WALL_EAST_RIGHT_LEG
-
WALL_EAST_ALL_LEGS
-
WALL_EAST_GRINDSTONE
-
CEILING_NORTH_SOUTH_LEFT_POST
-
CEILING_NORTH_SOUTH_RIGHT_POST
-
CEILING_NORTH_SOUTH_LEFT_PIVOT
-
CEILING_NORTH_SOUTH_RIGHT_PIVOT
-
CEILING_NORTH_SOUTH_LEFT_LEG
-
CEILING_NORTH_SOUTH_RIGHT_LEG
-
CEILING_NORTH_SOUTH_ALL_LEGS
-
CEILING_NORTH_SOUTH_GRINDSTONE
-
CEILING_EAST_WEST_LEFT_POST
-
CEILING_EAST_WEST_RIGHT_POST
-
CEILING_EAST_WEST_LEFT_PIVOT
-
CEILING_EAST_WEST_RIGHT_PIVOT
-
CEILING_EAST_WEST_LEFT_LEG
-
CEILING_EAST_WEST_RIGHT_LEG
-
CEILING_EAST_WEST_ALL_LEGS
-
CEILING_EAST_WEST_GRINDSTONE
-
CONTAINER_TITLE
-
-
Constructor Details
-
GrindstoneBlock
-
-
Method Details
-
codec
- Specified by:
codec
in classFaceAttachedHorizontalDirectionalBlock
-
getRenderShape
- Overrides:
getRenderShape
in classBlockBehaviour
-
getVoxelShape
-
getCollisionShape
protected VoxelShape getCollisionShape(BlockState p_53851_, BlockGetter p_53852_, BlockPos p_53853_, CollisionContext p_53854_) - Overrides:
getCollisionShape
in classBlockBehaviour
-
getShape
protected VoxelShape getShape(BlockState p_53842_, BlockGetter p_53843_, BlockPos p_53844_, CollisionContext p_53845_) - Overrides:
getShape
in classBlockBehaviour
-
canSurvive
- Overrides:
canSurvive
in classFaceAttachedHorizontalDirectionalBlock
-
useWithoutItem
protected InteractionResult useWithoutItem(BlockState p_53821_, Level p_53822_, BlockPos p_53823_, Player p_53824_, BlockHitResult p_53826_) - Overrides:
useWithoutItem
in classBlockBehaviour
-
getMenuProvider
- Overrides:
getMenuProvider
in classBlockBehaviour
-
rotate
- Overrides:
rotate
in classHorizontalDirectionalBlock
-
mirror
- Overrides:
mirror
in classHorizontalDirectionalBlock
-
createBlockStateDefinition
- Overrides:
createBlockStateDefinition
in classBlock
-
isPathfindable
- Overrides:
isPathfindable
in classBlockBehaviour
-