public class ConcretePowderBlock extends FallingBlock
Block.NeighborGroup
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
Modifier and Type | Field and Description |
---|---|
private BlockState |
hardenedState |
LOGGER, STATE_IDS, stateManager
collidable, dynamicBounds, FACINGS, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier
Constructor and Description |
---|
ConcretePowderBlock(Block hardened,
AbstractBlock.Settings settings) |
Modifier and Type | Method and Description |
---|---|
int |
getColor(BlockState state,
BlockView blockView,
BlockPos blockPos) |
BlockState |
getPlacementState(ItemPlacementContext ctx) |
BlockState |
getStateForNeighborUpdate(BlockState state,
Direction direction,
BlockState newState,
IWorld world,
BlockPos pos,
BlockPos posFrom) |
private static boolean |
hardensIn(BlockState state) |
private static boolean |
hardensOnAnySide(BlockView world,
BlockPos pos) |
private static boolean |
method_24279(BlockView blockView,
BlockPos blockPos,
BlockState blockState) |
void |
onLanding(World world,
BlockPos pos,
BlockState fallingBlockState,
BlockState currentStateInPos,
FallingBlockEntity fallingBlockEntity) |
canFallThrough, configureFallingBlockEntity, method_26154, onBlockAdded, onDestroyedOnLanding, randomDisplayTick, scheduledTick
addStacksForDisplay, afterBreak, appendProperties, 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, replaceBlock, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toString
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMaterialColor, getDroppedStacks, getFluidState, getLootTableId, getOffsetType, getOpacity, getOutlineShape, getPistonBehavior, getRayTraceShape, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getVisualShape, getWeakRedstonePower, hasBlockEntity, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockAction, onBlockBreakStart, onBlockRemoved, onEntityCollision, onProjectileHit, onStacksDropped, onUse, prepare, randomTick, rotate
private final BlockState hardenedState
public ConcretePowderBlock(Block hardened, AbstractBlock.Settings settings)
public void onLanding(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity)
onLanding
in class FallingBlock
public BlockState getPlacementState(ItemPlacementContext ctx)
getPlacementState
in class Block
private static boolean method_24279(BlockView blockView, BlockPos blockPos, BlockState blockState)
private static boolean hardensIn(BlockState state)
public BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState newState, IWorld world, BlockPos pos, BlockPos posFrom)
getStateForNeighborUpdate
in class FallingBlock
@Environment(value=CLIENT) public int getColor(BlockState state, BlockView blockView, BlockPos blockPos)
getColor
in class FallingBlock