Package | Description |
---|---|
net.minecraft.block | |
net.minecraftforge.common | |
net.minecraftforge.debug.block |
Modifier and Type | Method and Description |
---|---|
PlantType |
StemBlock.getPlantType(IBlockReader world,
BlockPos pos) |
PlantType |
CactusBlock.getPlantType(IBlockReader world,
BlockPos pos) |
PlantType |
SugarCaneBlock.getPlantType(IBlockReader world,
BlockPos pos) |
Modifier and Type | Method and Description |
---|---|
static PlantType |
PlantType.create(java.lang.String name)
Getting a custom
PlantType , or an existing one if it has the same name as that one. |
default PlantType |
IPlantable.getPlantType(IBlockReader world,
BlockPos pos) |
static PlantType |
PlantType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlantType[] |
PlantType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Field and Description |
---|---|
static PlantType |
CustomPlantTypeTest.CustomPlantBlock.pt |
Modifier and Type | Method and Description |
---|---|
PlantType |
CustomPlantTypeTest.CustomPlantBlock.getPlantType(IBlockReader world,
BlockPos pos) |