mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 12:09:39 +00:00
Carrot is not fruit (#27)
* Carrot is not fruit * updateBuildScript & spotlessApply
This commit is contained in:
1 parent
6973dbc80d
commit
c5c3aee2fb
1345 files changed
+92079
-90006
No files matched your search
@@ -1,6 +1,6 @@
|
||||
/*******************************************************************************
|
||||
* Copyright 2011-2014 SirSengir
|
||||
*
|
||||
*
|
||||
* This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details.
|
||||
******************************************************************************/
|
||||
package forestry.api.genetics;
|
||||
@@ -11,20 +11,20 @@ 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
|
||||
* @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, 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
|
||||
* @deprecated since Forestry 4.0 Use the IFlowerGrowthHelper version.
|
||||
*/
|
||||
@Deprecated
|
||||
boolean growFlower(IFlowerRegistry fr, String flowerType, World world, IIndividual individual, 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
|
||||
* @deprecated since Forestry 4.0 Use the IFlowerGrowthHelper version.
|
||||
*/
|
||||
@Deprecated
|
||||
boolean growFlower(IFlowerRegistry fr, String flowerType, World world, IIndividual individual, int x, int y, int z);
|
||||
}
|
||||
Reference in new issue
Block a user