public class BlockSeaGrassTall extends BlockShearableDoublePlant implements ILiquidContainer
Block.EnumOffsetType, Block.Properties, Block.RenderSideCacheKey| Modifier and Type | Field and Description |
|---|---|
static EnumProperty<DoubleBlockHalf> |
field_208065_c |
protected static VoxelShape |
SHAPE |
field_208063_bHALFBLOCK_STATE_IDS, blockHardness, blockMapColor, blockResistance, blocksMovement, capturedDrops, captureDrops, harvesters, lightValue, LOGGER, material, needsRandomTick, RANDOM, soundType, stateContainerdelegate| Constructor and Description |
|---|
BlockSeaGrassTall(Block p_i48779_1_,
Block.Properties p_i48779_2_) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canContainFluid(IBlockReader worldIn,
BlockPos pos,
IBlockState state,
Fluid fluidIn) |
IFluidState |
getFluidState(IBlockState state) |
ItemStack |
getItem(IBlockReader worldIn,
BlockPos pos,
IBlockState state) |
IItemProvider |
getItemDropped(IBlockState state,
World worldIn,
BlockPos pos,
int fortune) |
int |
getOpacity(IBlockState state,
IBlockReader worldIn,
BlockPos pos) |
VoxelShape |
getShape(IBlockState state,
IBlockReader worldIn,
BlockPos pos) |
IBlockState |
getStateForPlacement(BlockItemUseContext context) |
protected boolean |
isValidGround(IBlockState state,
IBlockReader worldIn,
BlockPos pos) |
boolean |
isValidPosition(IBlockState state,
IWorldReaderBase worldIn,
BlockPos pos) |
boolean |
receiveFluid(IWorld worldIn,
BlockPos pos,
IBlockState state,
IFluidState fluidStateIn) |
harvest, isReplaceable, isShearable, onShearedfillStateContainer, getOffsetType, getPositionRandom, harvestBlock, onBlockHarvested, onBlockPlacedBy, placeAt, updatePostPlacementgetBlockFaceShape, getPlant, getRenderLayer, isFullCubeaddInformation, allowsMovement, animateTick, asItem, canDropFromExplosion, canEntitySpawn, canProvidePower, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, doesSideFillSquare, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillItemGroup, fillWithRain, getAmbientOcclusionLightValue, getBlockFromItem, getBlockHardness, getCollisionShape, getComparatorInputOverride, getDefaultState, getExplosionResistance, getHarvestLevel, getHarvestTool, getItemsToDropCount, getLightValue, getMapColor, getMaterial, getNameTextComponent, getOffset, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getPushReaction, getRaytraceShape, getRenderShape, getRenderType, getSilkTouchDrop, getSlipperiness, getSlipperiness, getSoundType, getStateById, getStateContainer, getStateId, getStrongPower, getTickRandomly, getTranslationKey, getValidBlockForPosition, getWeakPower, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, isAir, isBlockNormalCube, isCollidable, isCollidable, isDirt, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isIn, isNormalCube, isOpaque, isOpaqueCube, isRock, isSideInvisible, isSolid, isTopSolid, isVariableOpacity, makeCuboidShape, mirror, needsPostProcessing, neighborChanged, nudgeEntitiesWithNewState, onBlockActivated, onBlockAdded, onBlockClicked, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, onReplaced, propagatesSkylightDown, quantityDropped, randomTick, registerBlocks, replaceBlock, rotate, setDefaultState, shouldSideBeRendered, spawnAsEntity, tick, tickRate, toString, updateDiagonalNeighbors, updateNeighbors, useNeighborBrightnessgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPlantTypeaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, beginLeaveDecay, canBeConnectedTo, canBeReplacedByLeaves, canConnectRedstone, canCreatureSpawn, canEntityDestroy, canHarvestBlock, canPlaceTorchOnTop, canRenderInLayer, createTileEntity, doesSideBlockChestOpening, doesSideBlockRendering, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getDrops, 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, isNormalCube, isReplaceableOreGen, isStickyBlock, isToolEffective, isTopSolid, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, recolorBlock, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPowerpublic static final EnumProperty<DoubleBlockHalf> field_208065_c
protected static final VoxelShape SHAPE
public BlockSeaGrassTall(Block p_i48779_1_, Block.Properties p_i48779_2_)
public VoxelShape getShape(IBlockState state, IBlockReader worldIn, BlockPos pos)
protected boolean isValidGround(IBlockState state, IBlockReader worldIn, BlockPos pos)
isValidGround in class BlockBushpublic IItemProvider getItemDropped(IBlockState state, World worldIn, BlockPos pos, int fortune)
getItemDropped in class BlockShearableDoublePlantpublic ItemStack getItem(IBlockReader worldIn, BlockPos pos, IBlockState state)
@Nullable public IBlockState getStateForPlacement(BlockItemUseContext context)
getStateForPlacement in class BlockDoublePlantpublic boolean isValidPosition(IBlockState state, IWorldReaderBase worldIn, BlockPos pos)
isValidPosition in class BlockDoublePlantpublic IFluidState getFluidState(IBlockState state)
getFluidState in class Blockpublic boolean canContainFluid(IBlockReader worldIn, BlockPos pos, IBlockState state, Fluid fluidIn)
canContainFluid in interface ILiquidContainerpublic boolean receiveFluid(IWorld worldIn, BlockPos pos, IBlockState state, IFluidState fluidStateIn)
receiveFluid in interface ILiquidContainerpublic int getOpacity(IBlockState state, IBlockReader worldIn, BlockPos pos)
getOpacity in class BlockBush