public class GeneticsUtil
extends java.lang.Object
| Constructor and Description |
|---|
GeneticsUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canCreateNursery(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
static boolean |
canNurse(IButterfly butterfly,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
static net.minecraft.item.ItemStack |
convertToGeneticEquivalent(net.minecraft.item.ItemStack foreign) |
static ICheckPollinatable |
getCheckPollinatable(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
Returns an ICheckPollinatable that can be checked but not mated.
|
static IIndividual |
getGeneticEquivalent(net.minecraft.item.ItemStack itemStack) |
static IButterflyNursery |
getNursery(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
static IButterflyNursery |
getOrCreateNursery(com.mojang.authlib.GameProfile gameProfile,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
boolean convertVanilla) |
static IPollinatable |
getOrCreatePollinatable(com.mojang.authlib.GameProfile owner,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
boolean convertVanilla)
Returns an IPollinatable that can be mated.
|
static IIndividual |
getPollen(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
Gets pollen from a location.
|
static int |
getResearchComplexity(IAlleleSpecies species,
IChromosomeType speciesChromosome) |
static boolean |
hasNaturalistEye(net.minecraft.entity.player.EntityPlayer player) |
public static boolean hasNaturalistEye(net.minecraft.entity.player.EntityPlayer player)
public static boolean canNurse(IButterfly butterfly, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos)
@Nullable public static ICheckPollinatable getCheckPollinatable(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos)
@Nullable public static IPollinatable getOrCreatePollinatable(@Nullable com.mojang.authlib.GameProfile owner, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, boolean convertVanilla)
@Nullable public static IButterflyNursery getOrCreateNursery(@Nullable com.mojang.authlib.GameProfile gameProfile, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, boolean convertVanilla)
public static boolean canCreateNursery(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
@Nullable public static IButterflyNursery getNursery(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos)
@Nullable public static IIndividual getPollen(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos)
@Nullable public static IIndividual getGeneticEquivalent(net.minecraft.item.ItemStack itemStack)
public static net.minecraft.item.ItemStack convertToGeneticEquivalent(net.minecraft.item.ItemStack foreign)
public static int getResearchComplexity(IAlleleSpecies species, IChromosomeType speciesChromosome)