Update for 1.11. Missing assets, unstable.

This commit is contained in:
mezz committed 2016-12-22 16:47:56 -08:00
1 parent 30d7365518
commit 9611ae08ae
1145 files changed
+15561 -18107

No files matched your search

@@ -6,7 +6,6 @@
package forestry.api.genetics;
import javax.annotation.Nullable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Map;
@@ -39,6 +38,7 @@ public interface ISpeciesRoot {
/**
* Used to check whether a given itemstack contains genetic data corresponding to an {@link IIndividual} of this class.
*
* @param stack itemstack to check.
* @return true if the itemstack contains an {@link IIndividual} of this class, false otherwise.
*/
@@ -46,14 +46,16 @@ public interface ISpeciesRoot {
/**
* Used to check whether a given itemstack contains genetic data corresponding to an {@link IIndividual} of this class and matches the given type.
*
* @param stack itemstack to check.
* @param type Integer denoting the type needed to match. (i.e. butterfly vs. butterfly serum; bee queens, princesses, drones; etc.)
* @param type Integer denoting the type needed to match. (i.e. butterfly vs. butterfly serum; bee queens, princesses, drones; etc.)
* @return true if the itemstack contains an {@link IIndividual} of this class, false otherwise.
*/
boolean isMember(ItemStack stack, ISpeciesType type);
/**
* Used to check whether the given {@link IIndividual} is member of this class.
*
* @param individual {@link IIndividual} to check.
* @return true if the individual is member of this class, false otherwise.
*/
@@ -66,13 +68,15 @@ public interface ISpeciesRoot {
@Nullable
ISpeciesType getType(ItemStack itemStack);
/** Species type used to represent this species in icons */
/**
* Species type used to represent this species in icons
*/
ISpeciesType getIconType();
ItemStack getMemberStack(IIndividual individual, ISpeciesType type);
/* BREEDING TRACKER */
IBreedingTracker getBreedingTracker(World world, GameProfile player);
IBreedingTracker getBreedingTracker(World world, @Nullable GameProfile player);
/* GENOME MANIPULATION */
IIndividual templateAsIndividual(IAllele[] template);
@@ -109,6 +113,7 @@ public interface ISpeciesRoot {
* @param identifier species UID
* @return Array of {@link IAllele} representing a genome.
*/
@Nullable
IAllele[] getTemplate(String identifier);
/**
@@ -124,7 +129,7 @@ public interface ISpeciesRoot {
Map<String, IAllele[]> getGenomeTemplates();
ArrayList<? extends IIndividual> getIndividualTemplates();
List<? extends IIndividual> getIndividualTemplates();
/* MUTATIONS */
@@ -147,8 +152,8 @@ public interface ISpeciesRoot {
List<? extends IMutation> getCombinations(IAllele other);
/**
* @since Forestry 3.7
* @return all possible mutations that result from breeding two species
* @since Forestry 3.7
*/
List<IMutation> getCombinations(IAlleleSpecies parentSpecies0, IAlleleSpecies parentSpecies1, boolean shuffle);
@@ -163,7 +168,8 @@ public interface ISpeciesRoot {
/**
* Sets an item stack as a valid (generic) research catalyst for this class.
* @param itemstack ItemStack to set as suitable.
*
* @param itemstack ItemStack to set as suitable.
* @param suitability Float between 0 and 1 to indicate suitability.
*/
void setResearchSuitability(ItemStack itemstack, float suitability);