public class GrindstoneBlock extends WallMountedBlock
Block.NeighborGroupAbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>FACEFACINGLOGGER, STATE_IDS, stateManagercollidable, dynamicBounds, FACINGS, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier| Modifier | Constructor and Description |
|---|---|
protected |
GrindstoneBlock(AbstractBlock.Settings settings) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendProperties(StateManager.Builder<Block,BlockState> builder) |
boolean |
canPathfindThrough(BlockState state,
BlockView world,
BlockPos pos,
NavigationType type) |
boolean |
canPlaceAt(BlockState state,
WorldView world,
BlockPos pos) |
NamedScreenHandlerFactory |
createScreenHandlerFactory(BlockState state,
World world,
BlockPos pos) |
VoxelShape |
getCollisionShape(BlockState state,
BlockView world,
BlockPos pos,
ShapeContext context) |
VoxelShape |
getOutlineShape(BlockState state,
BlockView world,
BlockPos pos,
ShapeContext context) |
BlockRenderType |
getRenderType(BlockState state) |
private VoxelShape |
getShape(BlockState state) |
BlockState |
mirror(BlockState state,
BlockMirror mirror) |
ActionResult |
onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
BlockState |
rotate(BlockState state,
BlockRotation rotation) |
canPlaceAt, getDirection, getPlacementState, getStateForNeighborUpdateaddStacksForDisplay, afterBreak, asBlock, asItem, buildTooltip, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getRawIdFromState, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isIn, isShapeFullCube, isSideSolidFullSquare, isTranslucent, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, pushEntitiesUpBeforeBlockChange, rainTick, randomDisplayTick, replaceBlock, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toStringcalcBlockBreakingDelta, canBucketPlace, canReplace, emitsRedstonePower, getAmbientOcclusionLightLevel, getComparatorOutput, getCullingShape, getDefaultMaterialColor, getDroppedStacks, getFluidState, getLootTableId, getOffsetType, getOpacity, getPistonBehavior, getRayTraceShape, getRenderingSeed, getSidesShape, getStrongRedstonePower, getVisualShape, getWeakRedstonePower, hasBlockEntity, hasComparatorOutput, hasSidedTransparency, isSideInvisible, neighborUpdate, onBlockAction, onBlockAdded, onBlockBreakStart, onBlockRemoved, onEntityCollision, onProjectileHit, onStacksDropped, prepare, randomTick, scheduledTickpublic static final VoxelShape field_16379
public static final VoxelShape field_16392
public static final VoxelShape field_16366
public static final VoxelShape field_16339
public static final VoxelShape field_16348
public static final VoxelShape field_16365
public static final VoxelShape field_16385
public static final VoxelShape NORTH_SOUTH_SHAPE
public static final VoxelShape field_16373
public static final VoxelShape field_16346
public static final VoxelShape field_16343
public static final VoxelShape field_16374
public static final VoxelShape field_16386
public static final VoxelShape field_16378
public static final VoxelShape field_16362
public static final VoxelShape EAST_WEST_SHAPE
public static final VoxelShape field_16352
public static final VoxelShape field_16377
public static final VoxelShape field_16393
public static final VoxelShape field_16371
public static final VoxelShape field_16340
public static final VoxelShape field_16354
public static final VoxelShape field_16369
public static final VoxelShape SOUTH_WALL_SHAPE
public static final VoxelShape field_16363
public static final VoxelShape field_16347
public static final VoxelShape field_16401
public static final VoxelShape field_16367
public static final VoxelShape field_16388
public static final VoxelShape field_16396
public static final VoxelShape field_16368
public static final VoxelShape NORTH_WALL_SHAPE
public static final VoxelShape field_16342
public static final VoxelShape field_16358
public static final VoxelShape field_16390
public static final VoxelShape field_16382
public static final VoxelShape field_16359
public static final VoxelShape field_16351
public static final VoxelShape field_16344
public static final VoxelShape WEST_WALL_SHAPE
public static final VoxelShape field_16394
public static final VoxelShape field_16375
public static final VoxelShape field_16345
public static final VoxelShape field_16350
public static final VoxelShape field_16372
public static final VoxelShape field_16381
public static final VoxelShape field_16391
public static final VoxelShape EAST_WALL_SHAPE
public static final VoxelShape field_16341
public static final VoxelShape field_16355
public static final VoxelShape field_16384
public static final VoxelShape field_16400
public static final VoxelShape field_16364
public static final VoxelShape field_16349
public static final VoxelShape field_16397
public static final VoxelShape NORTH_SOUTH_HANGING_SHAPE
public static final VoxelShape field_16387
public static final VoxelShape field_16398
public static final VoxelShape field_16357
public static final VoxelShape field_16353
public static final VoxelShape field_16395
public static final VoxelShape field_16360
public static final VoxelShape field_16389
public static final VoxelShape EAST_WEST_HANGING_SHAPE
private static final TranslatableText TITLE
protected GrindstoneBlock(AbstractBlock.Settings settings)
public BlockRenderType getRenderType(BlockState state)
getRenderType in class AbstractBlockprivate VoxelShape getShape(BlockState state)
public VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
getCollisionShape in class AbstractBlockpublic VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
getOutlineShape in class AbstractBlockpublic boolean canPlaceAt(BlockState state, WorldView world, BlockPos pos)
canPlaceAt in class WallMountedBlockpublic ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
onUse in class AbstractBlockpublic NamedScreenHandlerFactory createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
createScreenHandlerFactory in class AbstractBlockpublic BlockState rotate(BlockState state, BlockRotation rotation)
rotate in class HorizontalFacingBlockpublic BlockState mirror(BlockState state, BlockMirror mirror)
mirror in class HorizontalFacingBlockprotected void appendProperties(StateManager.Builder<Block,BlockState> builder)
appendProperties in class Blockpublic boolean canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
canPathfindThrough in class AbstractBlock