public class AlleleButterflySpecies extends AlleleSpecies implements IAlleleButterflySpecies, IAlleleButterflySpeciesBuilder
| Constructor and Description |
|---|
AlleleButterflySpecies(java.lang.String uid,
java.lang.String unlocalizedName,
java.lang.String authority,
java.lang.String unlocalizedDescription,
java.lang.String modID,
java.lang.String texturePath,
boolean isDominant,
IClassification branch,
java.lang.String binomial,
java.awt.Color serumColour) |
| Modifier and Type | Method and Description |
|---|---|
AlleleButterflySpecies |
addSpawnBiome(net.minecraftforge.common.BiomeDictionary.Type biomeTag) |
AlleleButterflySpecies |
addSpawnBiomes(java.util.Set<net.minecraftforge.common.BiomeDictionary.Type> biomeTags) |
IAlleleButterflySpecies |
build() |
java.util.Map<net.minecraft.item.ItemStack,java.lang.Float> |
getButterflyLoot() |
java.util.Map<net.minecraft.item.ItemStack,java.lang.Float> |
getCaterpillarLoot() |
int |
getComplexity()
Complexity determines the difficulty researching a species.
|
java.lang.String |
getEntityTexture() |
float |
getFlightDistance() |
java.lang.String |
getItemTexture() |
float |
getRarity() |
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> |
getResearchBounty(net.minecraft.world.World world,
com.mojang.authlib.GameProfile researcher,
IIndividual individual,
int bountyLevel) |
float |
getResearchSuitability(net.minecraft.item.ItemStack itemstack) |
IButterflyRoot |
getRoot() |
java.util.Set<net.minecraftforge.common.BiomeDictionary.Type> |
getSpawnBiomes()
Allows butterflies to restrict random spawns beyond the restrictions set by getTemperature() and getHumidity().
|
int |
getSpriteColour(int renderPass) |
boolean |
isNocturnal() |
boolean |
isSecret() |
void |
registerSprites() |
AlleleButterflySpecies |
setFlightDistance(float flightDistance) |
AlleleButterflySpecies |
setNocturnal() |
AlleleButterflySpecies |
setRarity(float rarity) |
boolean |
strictSpawnMatch() |
getAuthority, getBinomial, getBranch, getDescription, getHumidity, getTemperature, hasEffect, isCounted, setComplexity, setHasEffect, setHumidity, setIsNotCounted, setIsSecret, setTemperaturegetAlleleName, getModID, getName, getUID, getUnlocalizedName, isDominant, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAuthority, getBinomial, getBranch, getDescription, getHumidity, getTemperature, hasEffect, isCountedgetAlleleName, getModID, getName, getUID, getUnlocalizedName, isDominantsetComplexity, setHasEffect, setHumidity, setIsNotCounted, setIsSecret, setTemperaturepublic AlleleButterflySpecies(java.lang.String uid,
java.lang.String unlocalizedName,
java.lang.String authority,
java.lang.String unlocalizedDescription,
java.lang.String modID,
java.lang.String texturePath,
boolean isDominant,
IClassification branch,
java.lang.String binomial,
java.awt.Color serumColour)
public IAlleleButterflySpecies build()
build in interface IAlleleSpeciesBuilderbuild in interface IAlleleButterflySpeciesBuilderpublic IButterflyRoot getRoot()
getRoot in interface IAlleleSpeciesgetRoot in interface IAlleleButterflySpeciespublic AlleleButterflySpecies setRarity(float rarity)
setRarity in interface IAlleleButterflySpeciesBuilderpublic AlleleButterflySpecies setFlightDistance(float flightDistance)
setFlightDistance in interface IAlleleButterflySpeciesBuilderpublic AlleleButterflySpecies setNocturnal()
setNocturnal in interface IAlleleButterflySpeciesBuilderpublic AlleleButterflySpecies addSpawnBiomes(java.util.Set<net.minecraftforge.common.BiomeDictionary.Type> biomeTags)
public AlleleButterflySpecies addSpawnBiome(net.minecraftforge.common.BiomeDictionary.Type biomeTag)
public java.lang.String getEntityTexture()
getEntityTexture in interface IAlleleButterflySpeciespublic java.lang.String getItemTexture()
getItemTexture in interface IAlleleButterflySpeciespublic java.util.Set<net.minecraftforge.common.BiomeDictionary.Type> getSpawnBiomes()
IAlleleButterflySpeciesgetSpawnBiomes in interface IAlleleButterflySpeciespublic boolean strictSpawnMatch()
strictSpawnMatch in interface IAlleleButterflySpeciespublic int getComplexity()
IAlleleSpeciesgetComplexity in interface IAlleleSpeciesgetComplexity in class AlleleSpeciespublic float getResearchSuitability(net.minecraft.item.ItemStack itemstack)
getResearchSuitability in interface IAlleleSpeciesgetResearchSuitability in class AlleleSpeciespublic net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> getResearchBounty(net.minecraft.world.World world,
com.mojang.authlib.GameProfile researcher,
IIndividual individual,
int bountyLevel)
getResearchBounty in interface IAlleleSpeciesgetResearchBounty in class AlleleSpeciespublic boolean isSecret()
isSecret in interface IAlleleSpeciesisSecret in class AlleleSpeciespublic float getRarity()
getRarity in interface IAlleleButterflySpeciespublic float getFlightDistance()
getFlightDistance in interface IAlleleButterflySpeciespublic boolean isNocturnal()
isNocturnal in interface IAlleleButterflySpeciespublic java.util.Map<net.minecraft.item.ItemStack,java.lang.Float> getButterflyLoot()
getButterflyLoot in interface IAlleleButterflySpeciespublic java.util.Map<net.minecraft.item.ItemStack,java.lang.Float> getCaterpillarLoot()
getCaterpillarLoot in interface IAlleleButterflySpeciespublic int getSpriteColour(int renderPass)
getSpriteColour in interface IAlleleSpeciesrenderPass - Render pass to get the colour for.public void registerSprites()
registerSprites in interface IAlleleButterflySpecies