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.RenderSideCacheKey
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.IExtendedPositionPredicate<A>, AbstractBlock.IPositionPredicate, AbstractBlock.OffsetType, AbstractBlock.Properties
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
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
private static final ITextComponent
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.block.HorizontalFaceBlock
FACE
Fields inherited from class net.minecraft.block.HorizontalBlock
FACING
Fields inherited from class net.minecraft.block.Block
BLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinition
Fields inherited from class net.minecraft.block.AbstractBlock
drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, material, properties, soundType, speedFactor, UPDATE_SHAPE_ORDER
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) protected void
createBlockStateDefinition
(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 VoxelShape
getVoxelShape
(BlockState p_220186_1_) boolean
isPathfindable
(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, updateShape
Methods 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, wasExploded
Methods 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, useShapeForLightOcclusion
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
getRenderShape
in classAbstractBlock
-
getVoxelShape
-
getCollisionShape
public VoxelShape getCollisionShape(BlockState p_220071_1_, IBlockReader p_220071_2_, BlockPos p_220071_3_, ISelectionContext p_220071_4_) - Overrides:
getCollisionShape
in classAbstractBlock
-
getShape
public VoxelShape getShape(BlockState p_220053_1_, IBlockReader p_220053_2_, BlockPos p_220053_3_, ISelectionContext p_220053_4_) - Overrides:
getShape
in classAbstractBlock
-
canSurvive
- Overrides:
canSurvive
in 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:
use
in classAbstractBlock
-
getMenuProvider
public INamedContainerProvider getMenuProvider(BlockState p_220052_1_, World p_220052_2_, BlockPos p_220052_3_) - Overrides:
getMenuProvider
in classAbstractBlock
-
rotate
- Overrides:
rotate
in classHorizontalBlock
-
mirror
- Overrides:
mirror
in classHorizontalBlock
-
createBlockStateDefinition
- Overrides:
createBlockStateDefinition
in classBlock
-
isPathfindable
public boolean isPathfindable(BlockState p_196266_1_, IBlockReader p_196266_2_, BlockPos p_196266_3_, PathType p_196266_4_) - Overrides:
isPathfindable
in classAbstractBlock
-