mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 03:39:09 +00:00
Revert "Use generics for Chromosome type, begin unifying code"
This reverts commit 43e41034f6.
Conflicts:
src/main/java/forestry/api/arboriculture/IAlleleTreeSpecies.java
src/main/java/forestry/api/genetics/IAlleleSpeciesCustom.java
src/main/java/forestry/core/proxy/ProxyRenderClient.java
This commit is contained in:
1 parent
87f2dc0a0a
commit
efcab41e04
217 files changed
+2408
-3136
No files matched your search
@@ -5,27 +5,23 @@
|
||||
******************************************************************************/
|
||||
package forestry.api.genetics;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public interface IFlowerProvider {
|
||||
|
||||
boolean isAcceptedPollinatable(@Nonnull World world, @Nonnull IPollinatable pollinatable);
|
||||
boolean isAcceptedPollinatable(World world, IPollinatable pollinatable);
|
||||
|
||||
/**
|
||||
* @return The unique type used for the IFlowerRegistry
|
||||
* @since Forestry 4.0.0
|
||||
*/
|
||||
@Nonnull
|
||||
String getFlowerType();
|
||||
|
||||
/**
|
||||
* @return Short, human-readable identifier used in the beealyzer.
|
||||
*/
|
||||
@Nonnull
|
||||
String getDescription();
|
||||
|
||||
/**
|
||||
@@ -33,6 +29,5 @@ public interface IFlowerProvider {
|
||||
* If this flowerProvider does not affect the products, it should return the products unchanged.
|
||||
* @return Array of itemstacks being the (modified or unmodified) produce.
|
||||
*/
|
||||
@Nonnull
|
||||
ItemStack[] affectProducts(World world, IIndividual individual, BlockPos pos, ItemStack[] products);
|
||||
}
|
||||
Reference in new issue
Block a user