Package | Description |
---|---|
net.minecraft.block | |
net.minecraft.world.gen.feature | |
net.minecraftforge.common.extensions | |
net.minecraftforge.debug.block |
Modifier and Type | Class and Description |
---|---|
class |
AttachedStemBlock |
class |
BeetrootBlock |
class |
BushBlock |
class |
CactusBlock |
class |
CarrotBlock |
class |
CropsBlock |
class |
DeadBushBlock |
class |
DoublePlantBlock |
class |
FlowerBlock |
class |
LilyPadBlock |
class |
MushroomBlock |
class |
NetherWartBlock |
class |
PotatoBlock |
class |
SaplingBlock |
class |
SeaGrassBlock |
class |
SeaPickleBlock |
class |
ShearableDoublePlantBlock |
class |
StemBlock |
class |
SugarCaneBlock |
class |
SweetBerryBushBlock |
class |
TallFlowerBlock |
class |
TallGrassBlock |
class |
TallSeaGrassBlock |
class |
WitherRoseBlock |
Modifier and Type | Method and Description |
---|---|
boolean |
Block.canSustainPlant(BlockState state,
IBlockReader world,
BlockPos pos,
Direction facing,
IPlantable plantable) |
Modifier and Type | Field and Description |
---|---|
protected IPlantable |
BaseTreeFeatureConfig.sapling |
protected IPlantable |
BaseTreeFeatureConfig.Builder.sapling |
Modifier and Type | Method and Description |
---|---|
IPlantable |
BaseTreeFeatureConfig.getSapling() |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
AbstractTreeFeature.isSoil(IWorldGenerationBaseReader reader,
BlockPos pos,
IPlantable sapling) |
protected static boolean |
AbstractTreeFeature.isSoilOrFarm(IWorldGenerationBaseReader reader,
BlockPos pos,
IPlantable sapling) |
protected BaseTreeFeatureConfig |
BaseTreeFeatureConfig.setSapling(IPlantable value) |
BaseTreeFeatureConfig.Builder |
BaseTreeFeatureConfig.Builder.setSapling(IPlantable value) |
protected HugeTreeFeatureConfig |
HugeTreeFeatureConfig.setSapling(IPlantable value) |
HugeTreeFeatureConfig.Builder |
HugeTreeFeatureConfig.Builder.setSapling(IPlantable value) |
protected TreeFeatureConfig |
TreeFeatureConfig.setSapling(IPlantable value) |
TreeFeatureConfig.Builder |
TreeFeatureConfig.Builder.setSapling(IPlantable value) |
private boolean |
HugeTreesFeature.validSoil(IWorldGenerationReader worldIn,
BlockPos pos,
IPlantable sapling) |
Modifier and Type | Method and Description |
---|---|
boolean |
IForgeBlock.canSustainPlant(BlockState state,
IBlockReader world,
BlockPos pos,
Direction facing,
IPlantable plantable)
Determines if this block can support the passed in plant, allowing it to be planted and grow.
|
default boolean |
IForgeBlockState.canSustainPlant(IBlockReader world,
BlockPos pos,
Direction facing,
IPlantable plantable)
Determines if this block can support the passed in plant, allowing it to be planted and grow.
|
Modifier and Type | Class and Description |
---|---|
static class |
CustomPlantTypeTest.CustomPlantBlock |
Modifier and Type | Method and Description |
---|---|
boolean |
CustomPlantTypeTest.CustomBlock.canSustainPlant(BlockState state,
IBlockReader world,
BlockPos pos,
Direction facing,
IPlantable plantable) |