mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-18 11:19:28 +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
@@ -6,6 +6,7 @@
|
||||
package forestry.api.genetics;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
@@ -25,15 +26,16 @@ public interface IFlowerProvider {
|
||||
String getDescription();
|
||||
|
||||
/**
|
||||
* Allows the flower provider to affect the produce at the given location.
|
||||
* If this flowerProvider does not affect the products, it should return the products unchanged.
|
||||
* Allows the flower provider to affect the produce at the given location. If this flowerProvider does not affect
|
||||
* the products, it should return the products unchanged.
|
||||
*
|
||||
* @return Array of itemstacks being the (modified or unmodified) produce.
|
||||
*/
|
||||
ItemStack[] affectProducts(World world, IIndividual individual, int x, int y, int z, ItemStack[] products);
|
||||
|
||||
/**
|
||||
* @return Set of valid flowers for the flower provider.
|
||||
* Returns an empty set if the flower provider does not have any valid flowers.
|
||||
* @return Set of valid flowers for the flower provider. Returns an empty set if the flower provider does not have
|
||||
* any valid flowers.
|
||||
* @deprecated since Forestry 4.0.8 Use more specific methods in IFlowerRegistry.
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -41,8 +43,8 @@ public interface IFlowerProvider {
|
||||
|
||||
/**
|
||||
* @return True if a flower was planted.
|
||||
* @deprecated since Forestry 4.0.8 Use IFlowerRegistry.growFlower.
|
||||
* Implementers can move logic into a IFlowerGrowthRule and register with IFlowerRegistry.registerGrowthRule
|
||||
* @deprecated since Forestry 4.0.8 Use IFlowerRegistry.growFlower. Implementers can move logic into a
|
||||
* IFlowerGrowthRule and register with IFlowerRegistry.registerGrowthRule
|
||||
*/
|
||||
@Deprecated
|
||||
boolean growFlower(World world, IIndividual individual, int x, int y, int z);
|
||||
|
||||
Reference in new issue
Block a user