Package net.minecraft.block
Class GrindstoneBlock
- All Implemented Interfaces:
IItemProvider,IForgeBlock,IForgeRegistryEntry<Block>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.RenderSideCacheKeyNested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.IExtendedPositionPredicate<A>, AbstractBlock.IPositionPredicate, AbstractBlock.OffsetType, AbstractBlock.PropertiesNested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>> -
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 VoxelShapeprivate static final ITextComponentstatic 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.block.HorizontalFaceBlock
FACEFields inherited from class net.minecraft.block.HorizontalBlock
FACINGFields inherited from class net.minecraft.block.Block
BLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinitionFields inherited from class net.minecraft.block.AbstractBlock
drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, material, properties, soundType, speedFactor, UPDATE_SHAPE_ORDERFields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) protected voidcreateBlockStateDefinition(StateContainer.Builder<Block, BlockState> p_206840_1_) getCollisionShape(BlockState p_220071_1_, IBlockReader p_220071_2_, BlockPos p_220071_3_, ISelectionContext p_220071_4_) getMenuProvider(BlockState p_220052_1_, World p_220052_2_, BlockPos p_220052_3_) getRenderShape(BlockState p_149645_1_) getShape(BlockState p_220053_1_, IBlockReader p_220053_2_, BlockPos p_220053_3_, ISelectionContext p_220053_4_) private VoxelShapegetVoxelShape(BlockState p_220186_1_) booleanisPathfindable(BlockState p_196266_1_, IBlockReader p_196266_2_, BlockPos p_196266_3_, PathType p_196266_4_) mirror(BlockState p_185471_1_, Mirror p_185471_2_) rotate(BlockState p_185499_1_, Rotation p_185499_2_) use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) Methods inherited from class net.minecraft.block.HorizontalFaceBlock
canAttach, getConnectedDirection, getStateForPlacement, updateShapeMethods inherited from class net.minecraft.block.Block
animateTick, appendHoverText, asBlock, asItem, box, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, fallOn, fillItemCategory, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getHarvestLevel, getHarvestTool, getId, getJumpFactor, getName, getSoundType, getSpeedFactor, getStateDefinition, getTags, handleRain, hasDynamicShape, is, is, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isRandomlyTicking, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, propagatesSkylightDown, pushEntitiesUp, registerDefaultState, setPlacedBy, shouldRenderFace, stateById, stepOn, toString, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExplodedMethods inherited from class net.minecraft.block.AbstractBlock
attack, canBeReplaced, canBeReplaced, defaultMaterialColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getDestroyProgress, getDirectSignal, getDrops, getFluidState, getInteractionShape, getLightBlock, getLootTable, getOcclusionShape, getOffsetType, getPistonPushReaction, getSeed, getShadeBrightness, getSignal, getVisualShape, hasAnalogOutputSignal, isAir, isEntityBlock, isSignalSource, neighborChanged, onPlace, onProjectileHit, onRemove, randomTick, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, useShapeForLightOcclusionMethods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraftforge.common.extensions.IForgeBlock
addDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, createTileEntity, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRespawnPosition, getSlipperiness, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hasTileEntity, isAir, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isToolEffective, makesOpenTrapdoorAboveClimbable, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay
-
Field Details
-
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
-
getRenderShape
- Overrides:
getRenderShapein classAbstractBlock
-
getVoxelShape
-
getCollisionShape
public VoxelShape getCollisionShape(BlockState p_220071_1_, IBlockReader p_220071_2_, BlockPos p_220071_3_, ISelectionContext p_220071_4_) - Overrides:
getCollisionShapein classAbstractBlock
-
getShape
public VoxelShape getShape(BlockState p_220053_1_, IBlockReader p_220053_2_, BlockPos p_220053_3_, ISelectionContext p_220053_4_) - Overrides:
getShapein classAbstractBlock
-
canSurvive
- Overrides:
canSurvivein classHorizontalFaceBlock
-
use
public ActionResultType use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) - Overrides:
usein classAbstractBlock
-
getMenuProvider
public INamedContainerProvider getMenuProvider(BlockState p_220052_1_, World p_220052_2_, BlockPos p_220052_3_) - Overrides:
getMenuProviderin classAbstractBlock
-
rotate
- Overrides:
rotatein classHorizontalBlock
-
mirror
- Overrides:
mirrorin classHorizontalBlock
-
createBlockStateDefinition
- Overrides:
createBlockStateDefinitionin classBlock
-
isPathfindable
public boolean isPathfindable(BlockState p_196266_1_, IBlockReader p_196266_2_, BlockPos p_196266_3_, PathType p_196266_4_) - Overrides:
isPathfindablein classAbstractBlock
-