public class AncientCoralBlock extends AncientPlantBlock
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.block.properties.PropertyInteger |
LEVEL |
BLOCK_STATE_IDS, blockHardness, blockMapColor, blockMaterial, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, hasTileEntity, lightOpacity, lightValue, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, translucent, useNeighborBrightness| Constructor and Description |
|---|
AncientCoralBlock() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBlockStay(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state) |
protected boolean |
canPlace(net.minecraft.block.state.IBlockState down,
net.minecraft.block.state.IBlockState here,
net.minecraft.block.state.IBlockState up) |
boolean |
canPlaceBlockAt(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
protected boolean |
canSustainBush(net.minecraft.block.state.IBlockState ground) |
protected net.minecraft.block.state.BlockStateContainer |
createBlockState() |
int |
getMetaFromState(net.minecraft.block.state.IBlockState state) |
protected boolean |
isNearWater(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos nextPos) |
findGround, getOffsetType, spread, updateTickcheckAndDropBlock, getBlockFaceShape, getBlockLayer, getBoundingBox, getCollisionBoundingBox, getPlant, getPlantType, isFullCube, isOpaqueCube, neighborChangedaddCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, addRunningEffects, beginLeavesDecay, breakBlock, canBeConnectedTo, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canHarvestBlock, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, createTileEntity, damageDropped, disableStats, doesSideBlockChestOpening, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillWithRain, getActualState, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getComparatorInputOverride, getCreativeTabToDisplayOn, getDefaultState, getDrops, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMobilityFlag, getOffset, getPackedLightmapCoords, getPickBlock, getPlayerRelativeBlockHardness, getRenderType, getSelectedBoundingBox, getSilkTouchDrop, getSlipperiness, getSoundType, getSoundType, getStateById, getStateForPlacement, getStateForPlacement, getStateFromMeta, getStateId, getStrongPower, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, hasTileEntity, isAABBInsideLiquid, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isLadder, isLeaves, isNormalCube, isNormalCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isStickyBlock, isToolEffective, isTopSolid, isTranslucent, isWood, modifyAcceleration, observedNeighborChange, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockExploded, onBlockHarvested, onBlockPlacedBy, onEntityCollidedWithBlock, onEntityWalk, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, rayTrace, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultSlipperiness, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, tickRate, toString, withMirror, withRotationprotected boolean canPlace(net.minecraft.block.state.IBlockState down,
net.minecraft.block.state.IBlockState here,
net.minecraft.block.state.IBlockState up)
canPlace in class AncientPlantBlockprotected boolean canSustainBush(net.minecraft.block.state.IBlockState ground)
canSustainBush in class net.minecraft.block.BlockBushpublic boolean canPlaceBlockAt(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
canPlaceBlockAt in class net.minecraft.block.BlockBushpublic boolean canBlockStay(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state)
canBlockStay in class net.minecraft.block.BlockBushprotected boolean isNearWater(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos nextPos)
isNearWater in class AncientPlantBlockprotected net.minecraft.block.state.BlockStateContainer createBlockState()
createBlockState in class net.minecraft.block.Blockpublic int getMetaFromState(net.minecraft.block.state.IBlockState state)
getMetaFromState in class net.minecraft.block.Block