public class TallSeaGrassBlock extends ShearableDoublePlantBlock implements ILiquidContainer
Block.OffsetType, Block.Properties, Block.RenderSideCacheKey| Modifier and Type | Field and Description |
|---|---|
static EnumProperty<DoubleBlockHalf> |
field_208065_c |
protected static VoxelShape |
SHAPE |
PLANT_HALFHALFBLOCK_STATE_IDS, blockHardness, blockResistance, blocksMovement, lightValue, LOGGER, material, materialColor, RANDOM, soundType, stateContainer, ticksRandomlydelegate| Constructor and Description |
|---|
TallSeaGrassBlock(Block.Properties p_i49970_1_) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canContainFluid(IBlockReader worldIn,
BlockPos pos,
BlockState state,
Fluid fluidIn) |
IFluidState |
getFluidState(BlockState state) |
ItemStack |
getItem(IBlockReader worldIn,
BlockPos pos,
BlockState state) |
VoxelShape |
getShape(BlockState state,
IBlockReader worldIn,
BlockPos pos,
ISelectionContext context) |
BlockState |
getStateForPlacement(BlockItemUseContext context) |
protected boolean |
isValidGround(BlockState state,
IBlockReader worldIn,
BlockPos pos) |
boolean |
isValidPosition(BlockState state,
IWorldReader worldIn,
BlockPos pos) |
boolean |
receiveFluid(IWorld worldIn,
BlockPos pos,
BlockState state,
IFluidState fluidStateIn) |
isReplaceablefillStateContainer, getOffsetType, getPositionRandom, harvestBlock, onBlockHarvested, onBlockPlacedBy, placeAt, updatePostPlacementallowsMovement, getPlant, propagatesSkylightDownaddInformation, animateTick, asItem, canDropFromExplosion, canEntitySpawn, cannotAttach, canProvidePower, canSpawnInBlock, canSustainPlant, causesSuffocation, doesSideFillSquare, dropXpOnBlockBreak, eventReceived, fillItemGroup, fillWithRain, getAmbientOcclusionLightValue, getBlockFromItem, getBlockHardness, getCollisionShape, getComparatorInputOverride, getContainer, getDefaultState, getDrops, getDrops, getDrops, getExplosionResistance, getHarvestLevel, getHarvestTool, getJumpFactor, getLightValue, getLootTable, getMaterial, getMaterialColor, getNameTextComponent, getOffset, getOpacity, getPlayerRelativeBlockHardness, getPushReaction, getRaytraceShape, getRenderShape, getRenderType, getSlipperiness, getSlipperiness, getSoundType, getSpeedFactor, getStateById, getStateContainer, getStateId, getStrongPower, getTags, getTranslationKey, getValidBlockForPosition, getWeakPower, hasComparatorInputOverride, hasEnoughSolidSide, hasSolidSide, hasSolidSideOnTop, hasTileEntity, isAir, isEmissiveRendering, isIn, isNormalCube, isOpaque, isOpaqueCube, isReplaceable, isSideInvisible, isSolid, isTransparent, isVariableOpacity, isViewBlocking, makeCuboidShape, mirror, needsPostProcessing, neighborChanged, nudgeEntitiesWithNewState, onBlockActivated, onBlockAdded, onBlockClicked, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, onProjectileCollision, onReplaced, randomTick, replaceBlock, rotate, setDefaultState, shouldSideBeRendered, spawnAdditionalDrops, spawnAsEntity, spawnDrops, spawnDrops, spawnDrops, tick, tickRate, ticksRandomly, toString, updateDiagonalNeighbors, updateNeighborsgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisShearable, onShearedgetPlantTypeaddDestroyEffects, 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, shouldDisplayFluidOverlaypublic static final EnumProperty<DoubleBlockHalf> field_208065_c
protected static final VoxelShape SHAPE
public TallSeaGrassBlock(Block.Properties p_i49970_1_)
public VoxelShape getShape(BlockState state, IBlockReader worldIn, BlockPos pos, ISelectionContext context)
protected boolean isValidGround(BlockState state, IBlockReader worldIn, BlockPos pos)
isValidGround in class BushBlockpublic ItemStack getItem(IBlockReader worldIn, BlockPos pos, BlockState state)
@Nullable public BlockState getStateForPlacement(BlockItemUseContext context)
getStateForPlacement in class DoublePlantBlockpublic boolean isValidPosition(BlockState state, IWorldReader worldIn, BlockPos pos)
isValidPosition in class DoublePlantBlockpublic IFluidState getFluidState(BlockState state)
getFluidState in class Blockpublic boolean canContainFluid(IBlockReader worldIn, BlockPos pos, BlockState state, Fluid fluidIn)
canContainFluid in interface ILiquidContainerpublic boolean receiveFluid(IWorld worldIn, BlockPos pos, BlockState state, IFluidState fluidStateIn)
receiveFluid in interface ILiquidContainer