public class SeaPickleBlock extends BushBlock implements IGrowable, IWaterLoggable
Block.OffsetType, Block.Properties, Block.RenderSideCacheKey| Modifier and Type | Field and Description |
|---|---|
protected static VoxelShape |
FOUR_SHAPE |
protected static VoxelShape |
ONE_SHAPE |
static IntegerProperty |
PICKLES |
protected static VoxelShape |
THREE_SHAPE |
protected static VoxelShape |
TWO_SHAPE |
static BooleanProperty |
WATERLOGGED |
BLOCK_STATE_IDS, blockHardness, blockResistance, blocksMovement, lightValue, LOGGER, material, materialColor, RANDOM, soundType, stateContainer, ticksRandomlydelegate| Modifier | Constructor and Description |
|---|---|
protected |
SeaPickleBlock(Block.Properties propertiesfsp) |
getPlant, getRenderLayer, propagatesSkylightDownaddInformation, allowsMovement, animateTick, asItem, canDropFromExplosion, canEntitySpawn, cannotAttach, canProvidePower, canSpawnInBlock, canSustainPlant, causesSuffocation, doesSideFillSquare, dropXpOnBlockBreak, eventReceived, fillItemGroup, fillWithRain, func_220055_a, func_220064_c, func_220074_n, func_220080_a, getBlockFromItem, getBlockHardness, getCollisionShape, getComparatorInputOverride, getContainer, getDefaultState, getDrops, getDrops, getDrops, getExplosionResistance, getHarvestLevel, getHarvestTool, getItem, getLootTable, getMaterial, getMaterialColor, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRenderShape, getRenderType, getSlipperiness, getSlipperiness, getSoundType, getStateById, getStateContainer, getStateId, getStrongPower, getTags, getTranslationKey, getValidBlockForPosition, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasSolidSide, hasTileEntity, isAir, isDirt, isIn, isNormalCube, isOpaque, isOpaqueCube, isRock, isSideInvisible, isSolid, isVariableOpacity, makeCuboidShape, mirror, needsPostProcessing, neighborChanged, nudgeEntitiesWithNewState, onBlockActivated, onBlockAdded, onBlockClicked, onBlockHarvested, onBlockPlacedBy, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, onProjectileCollision, onReplaced, randomTick, replaceBlock, rotate, setDefaultState, shouldSideBeRendered, spawnAdditionalDrops, spawnAsEntity, spawnDrops, spawnDrops, spawnDrops, spawnDrops, tick, tickRate, ticksRandomly, toString, updateDiagonalNeighbors, updateNeighborsgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanContainFluid, pickupFluid, receiveFluidgetPlantTypeaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, beginLeaveDecay, canBeConnectedTo, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canRenderInLayer, catchFire, collisionExtendsVertically, createTileEntity, doesSideBlockRendering, 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, isFertile, isFireSource, isFlammable, isFoliage, isLadder, isPortalFrame, isReplaceableOreGen, isStickyBlock, isToolEffective, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, recolorBlock, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPowerpublic static final IntegerProperty PICKLES
public static final BooleanProperty WATERLOGGED
protected static final VoxelShape ONE_SHAPE
protected static final VoxelShape TWO_SHAPE
protected static final VoxelShape THREE_SHAPE
protected static final VoxelShape FOUR_SHAPE
protected SeaPickleBlock(Block.Properties propertiesfsp)
public int getLightValue(BlockState state)
getLightValue in class Block@Nullable public BlockState getStateForPlacement(BlockItemUseContext context)
getStateForPlacement in class Blockprotected boolean isValidGround(BlockState state, IBlockReader worldIn, BlockPos pos)
isValidGround in class BushBlockpublic boolean isValidPosition(BlockState state, IWorldReader worldIn, BlockPos pos)
isValidPosition in class BushBlockpublic BlockState updatePostPlacement(BlockState stateIn, Direction facing, BlockState facingState, IWorld worldIn, BlockPos currentPos, BlockPos facingPos)
updatePostPlacement in class BushBlockpublic boolean isReplaceable(BlockState state, BlockItemUseContext useContext)
isReplaceable in class Blockpublic VoxelShape getShape(BlockState state, IBlockReader worldIn, BlockPos pos, ISelectionContext context)
public IFluidState getFluidState(BlockState state)
getFluidState in class Blockprotected void fillStateContainer(StateContainer.Builder<Block,BlockState> builder)
fillStateContainer in class Blockpublic boolean canGrow(IBlockReader worldIn, BlockPos pos, BlockState state, boolean isClient)
public boolean canUseBonemeal(World worldIn, java.util.Random rand, BlockPos pos, BlockState state)
canUseBonemeal in interface IGrowablepublic void grow(World worldIn, java.util.Random rand, BlockPos pos, BlockState state)