public class GrindstoneBlock extends HorizontalFaceBlock
Block.OffsetType, Block.Properties, Block.RenderSideCacheKey
FACE
HORIZONTAL_FACING
BLOCK_STATE_IDS, blockHardness, blockResistance, blocksMovement, lightValue, LOGGER, material, materialColor, RANDOM, soundType, stateContainer, ticksRandomly
delegate
Modifier | Constructor and Description |
---|---|
protected |
GrindstoneBlock(Block.Properties propertiesIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowsMovement(BlockState state,
IBlockReader worldIn,
BlockPos pos,
PathType type) |
protected void |
fillStateContainer(StateContainer.Builder<Block,BlockState> builder) |
VoxelShape |
getCollisionShape(BlockState state,
IBlockReader worldIn,
BlockPos pos,
ISelectionContext context) |
INamedContainerProvider |
getContainer(BlockState state,
World worldIn,
BlockPos pos) |
BlockRenderType |
getRenderType(BlockState state) |
VoxelShape |
getShape(BlockState state,
IBlockReader worldIn,
BlockPos pos,
ISelectionContext context) |
private VoxelShape |
getShapeFromState(BlockState state) |
boolean |
isValidPosition(BlockState state,
IWorldReader worldIn,
BlockPos pos) |
BlockState |
mirror(BlockState state,
Mirror mirrorIn) |
ActionResultType |
onBlockActivated(BlockState state,
World worldIn,
BlockPos pos,
PlayerEntity player,
Hand handIn,
BlockRayTraceResult hit) |
BlockState |
rotate(BlockState state,
Rotation rot) |
func_220185_b, getFacing, getStateForPlacement, updatePostPlacement
addInformation, animateTick, asItem, canDropFromExplosion, canEntitySpawn, cannotAttach, canProvidePower, canSpawnInBlock, canSustainPlant, causesSuffocation, doesSideFillSquare, dropXpOnBlockBreak, eventReceived, fillItemGroup, fillWithRain, getAmbientOcclusionLightValue, getBlockFromItem, getBlockHardness, getComparatorInputOverride, getDefaultState, getDrops, getDrops, getDrops, getExplosionResistance, getFluidState, getHarvestLevel, getHarvestTool, getItem, getJumpFactor, getLightValue, getLootTable, getMaterial, getMaterialColor, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRenderShape, getSlipperiness, getSlipperiness, getSoundType, getSpeedFactor, getStateById, getStateContainer, getStateId, getStrongPower, getTags, getTranslationKey, getValidBlockForPosition, getWeakPower, harvestBlock, hasComparatorInputOverride, hasEnoughSolidSide, hasSolidSide, hasSolidSideOnTop, hasTileEntity, isAir, isEmissiveRendering, isIn, isNormalCube, isOpaque, isOpaqueCube, isReplaceable, isReplaceable, isSideInvisible, isSolid, isTransparent, isVariableOpacity, isViewBlocking, makeCuboidShape, needsPostProcessing, neighborChanged, nudgeEntitiesWithNewState, onBlockAdded, onBlockClicked, onBlockHarvested, onBlockPlacedBy, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, onProjectileCollision, onReplaced, propagatesSkylightDown, randomTick, replaceBlock, setDefaultState, shouldSideBeRendered, spawnAdditionalDrops, spawnAsEntity, spawnDrops, spawnDrops, spawnDrops, tick, tickRate, ticksRandomly, toString, updateDiagonalNeighbors, updateNeighbors
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, beginLeaveDecay, canBeConnectedTo, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, createTileEntity, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRayTraceResult, getSoundType, getStateAtViewpoint, getStateForPlacement, getValidRotations, getWeakChanges, hasTileEntity, isAir, isBeaconBase, isBed, isBedFoot, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isFoliage, isLadder, isPortalFrame, isReplaceableOreGen, isSlimeBlock, isStickyBlock, isToolEffective, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, recolorBlock, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay
public static final VoxelShape field_220238_a
public static final VoxelShape field_220239_b
public static final VoxelShape field_220240_c
public static final VoxelShape field_220241_d
public static final VoxelShape field_220242_e
public static final VoxelShape field_220243_f
public static final VoxelShape field_220244_g
public static final VoxelShape field_220245_h
public static final VoxelShape field_220246_i
public static final VoxelShape field_220247_j
public static final VoxelShape field_220248_k
public static final VoxelShape field_220249_w
public static final VoxelShape field_220250_x
public static final VoxelShape field_220251_y
public static final VoxelShape field_220252_z
public static final VoxelShape field_220213_A
public static final VoxelShape field_220214_B
public static final VoxelShape field_220215_D
public static final VoxelShape field_220216_E
public static final VoxelShape field_220217_F
public static final VoxelShape field_220218_G
public static final VoxelShape field_220219_H
public static final VoxelShape field_220220_I
public static final VoxelShape SHAPE_WALL_SOUTH
public static final VoxelShape field_220222_K
public static final VoxelShape field_220223_L
public static final VoxelShape field_220224_M
public static final VoxelShape field_220225_N
public static final VoxelShape field_220226_O
public static final VoxelShape field_220227_P
public static final VoxelShape field_220228_Q
public static final VoxelShape SHAPE_WALL_NORTH
public static final VoxelShape field_220230_S
public static final VoxelShape field_220231_T
public static final VoxelShape field_220232_U
public static final VoxelShape field_220233_V
public static final VoxelShape field_220234_W
public static final VoxelShape field_220235_X
public static final VoxelShape field_220236_Y
public static final VoxelShape field_220237_Z
public static final VoxelShape field_220188_aa
public static final VoxelShape field_220189_ab
public static final VoxelShape field_220190_ac
public static final VoxelShape field_220191_ad
public static final VoxelShape field_220192_ae
public static final VoxelShape field_220193_af
public static final VoxelShape field_220194_ag
public static final VoxelShape field_220195_ah
public static final VoxelShape field_220196_ai
public static final VoxelShape field_220197_aj
public static final VoxelShape field_220198_ak
public static final VoxelShape field_220199_al
public static final VoxelShape field_220200_am
public static final VoxelShape field_220201_an
public static final VoxelShape field_220202_ao
public static final VoxelShape SHAPE_CEILING_NORTH_OR_SOUTH
public static final VoxelShape field_220204_aq
public static final VoxelShape field_220205_ar
public static final VoxelShape field_220206_as
public static final VoxelShape field_220207_at
public static final VoxelShape field_220208_au
public static final VoxelShape field_220209_av
public static final VoxelShape field_220210_aw
public static final VoxelShape SHAPE_CEILING_EAST_OR_WEST
private static final TranslationTextComponent CONTAINER_NAME
protected GrindstoneBlock(Block.Properties propertiesIn)
public BlockRenderType getRenderType(BlockState state)
getRenderType
in class Block
private VoxelShape getShapeFromState(BlockState state)
public VoxelShape getCollisionShape(BlockState state, IBlockReader worldIn, BlockPos pos, ISelectionContext context)
getCollisionShape
in class Block
public VoxelShape getShape(BlockState state, IBlockReader worldIn, BlockPos pos, ISelectionContext context)
public boolean isValidPosition(BlockState state, IWorldReader worldIn, BlockPos pos)
isValidPosition
in class HorizontalFaceBlock
public ActionResultType onBlockActivated(BlockState state, World worldIn, BlockPos pos, PlayerEntity player, Hand handIn, BlockRayTraceResult hit)
onBlockActivated
in class Block
public INamedContainerProvider getContainer(BlockState state, World worldIn, BlockPos pos)
getContainer
in class Block
public BlockState rotate(BlockState state, Rotation rot)
rotate
in class HorizontalBlock
public BlockState mirror(BlockState state, Mirror mirrorIn)
mirror
in class HorizontalBlock
protected void fillStateContainer(StateContainer.Builder<Block,BlockState> builder)
fillStateContainer
in class Block
public boolean allowsMovement(BlockState state, IBlockReader worldIn, BlockPos pos, PathType type)
allowsMovement
in class Block