mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 19:49:54 +00:00
[ci skip] spotlessApply with the new settings
This commit is contained in:
1 parent
4711be8028
commit
94aa9346b1
1282 files changed
+15755
-16296
No files matched your search
@@ -11,18 +11,19 @@ import net.minecraft.world.World;
|
||||
* Basic condition for flower growing, such as checking that the soil is the correct type.
|
||||
*/
|
||||
public interface IFlowerGrowthRule {
|
||||
|
||||
/**
|
||||
* Checks a position for suitability, and then plants a flower there.
|
||||
* Returns true on success.
|
||||
* For implementers, you can plant a random flower using IFlowerGrowthHelper.plantRandomFlower
|
||||
* Checks a position for suitability, and then plants a flower there. Returns true on success. For implementers, you
|
||||
* can plant a random flower using IFlowerGrowthHelper.plantRandomFlower
|
||||
*
|
||||
* @since Forestry 4.0.8
|
||||
*/
|
||||
boolean growFlower(IFlowerGrowthHelper helper, String flowerType, World world, int x, int y, int z);
|
||||
|
||||
/**
|
||||
* Checks a position for suitability, and then plants a flower there.
|
||||
* Returns true on success.
|
||||
* For implementers, get a flower to grow using IFlowerRegistry.getRandomPlantableFlower
|
||||
* Checks a position for suitability, and then plants a flower there. Returns true on success. For implementers, get
|
||||
* a flower to grow using IFlowerRegistry.getRandomPlantableFlower
|
||||
*
|
||||
* @deprecated since Forestry 4.0 Use the IFlowerGrowthHelper version.
|
||||
*/
|
||||
@Deprecated
|
||||
|
||||
Reference in new issue
Block a user