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.BlockStatePairKeyNested 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
FieldsModifier and TypeFieldDescriptionstatic 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 com.mojang.serialization.MapCodec<GrindstoneBlock> private static final Componentstatic 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 VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapestatic final VoxelShapeFields inherited from class net.minecraft.world.level.block.FaceAttachedHorizontalDirectionalBlock
FACEFields inherited from class net.minecraft.world.level.block.HorizontalDirectionalBlock
FACINGFields 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_DROPSFields inherited from class net.minecraft.world.level.block.state.BlockBehaviour
drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, properties, requiredFeatures, soundType, speedFactor, UPDATE_SHAPE_ORDERFields inherited from interface net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanSurvive(BlockState p_53828_, LevelReader p_53829_, BlockPos p_53830_) com.mojang.serialization.MapCodec<GrindstoneBlock> codec()protected voidprotected VoxelShapegetCollisionShape(BlockState p_53851_, BlockGetter p_53852_, BlockPos p_53853_, CollisionContext p_53854_) protected MenuProvidergetMenuProvider(BlockState p_53847_, Level p_53848_, BlockPos p_53849_) protected RenderShapegetRenderShape(BlockState p_53840_) protected VoxelShapegetShape(BlockState p_53842_, BlockGetter p_53843_, BlockPos p_53844_, CollisionContext p_53845_) private VoxelShapegetVoxelShape(BlockState p_53856_) protected booleanisPathfindable(BlockState p_53816_, PathComputationType p_53819_) protected BlockStatemirror(BlockState p_53832_, Mirror p_53833_) protected BlockStaterotate(BlockState p_53835_, Rotation p_53836_) protected InteractionResultuseWithoutItem(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, updateShapeMethods 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, withPropertiesOfMethods 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, useShapeForLightOcclusionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.flag.FeatureElement
isEnabledMethods 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:
codecin classFaceAttachedHorizontalDirectionalBlock
-
getRenderShape
- Overrides:
getRenderShapein classBlockBehaviour
-
getVoxelShape
-
getCollisionShape
protected VoxelShape getCollisionShape(BlockState p_53851_, BlockGetter p_53852_, BlockPos p_53853_, CollisionContext p_53854_) - Overrides:
getCollisionShapein classBlockBehaviour
-
getShape
protected VoxelShape getShape(BlockState p_53842_, BlockGetter p_53843_, BlockPos p_53844_, CollisionContext p_53845_) - Overrides:
getShapein classBlockBehaviour
-
canSurvive
- Overrides:
canSurvivein classFaceAttachedHorizontalDirectionalBlock
-
useWithoutItem
protected InteractionResult useWithoutItem(BlockState p_53821_, Level p_53822_, BlockPos p_53823_, Player p_53824_, BlockHitResult p_53826_) - Overrides:
useWithoutItemin classBlockBehaviour
-
getMenuProvider
- Overrides:
getMenuProviderin classBlockBehaviour
-
rotate
- Overrides:
rotatein classHorizontalDirectionalBlock
-
mirror
- Overrides:
mirrorin classHorizontalDirectionalBlock
-
createBlockStateDefinition
- Overrides:
createBlockStateDefinitionin classBlock
-
isPathfindable
- Overrides:
isPathfindablein classBlockBehaviour
-