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_b
HALF
BLOCK_STATE_IDS, blockHardness, blockMapColor, blockResistance, blocksMovement, capturedDrops, captureDrops, harvesters, lightValue, LOGGER, material, needsRandomTick, RANDOM, soundType, stateContainer
delegate
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, onSheared
fillStateContainer, getOffsetType, getPositionRandom, harvestBlock, onBlockHarvested, onBlockPlacedBy, placeAt, updatePostPlacement
getBlockFaceShape, getPlant, getRenderLayer, isFullCube
addInformation, 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, useNeighborBrightness
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPlantType
addDestroyEffects, 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, shouldCheckWeakPower
public 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 BlockBush
public IItemProvider getItemDropped(IBlockState state, World worldIn, BlockPos pos, int fortune)
getItemDropped
in class BlockShearableDoublePlant
public ItemStack getItem(IBlockReader worldIn, BlockPos pos, IBlockState state)
@Nullable public IBlockState getStateForPlacement(BlockItemUseContext context)
getStateForPlacement
in class BlockDoublePlant
public boolean isValidPosition(IBlockState state, IWorldReaderBase worldIn, BlockPos pos)
isValidPosition
in class BlockDoublePlant
public IFluidState getFluidState(IBlockState state)
getFluidState
in class Block
public boolean canContainFluid(IBlockReader worldIn, BlockPos pos, IBlockState state, Fluid fluidIn)
canContainFluid
in interface ILiquidContainer
public boolean receiveFluid(IWorld worldIn, BlockPos pos, IBlockState state, IFluidState fluidStateIn)
receiveFluid
in interface ILiquidContainer
public int getOpacity(IBlockState state, IBlockReader worldIn, BlockPos pos)
getOpacity
in class BlockBush