public abstract class Dinosaur extends java.lang.Object implements java.lang.Comparable<Dinosaur>
| Modifier and Type | Class and Description |
|---|---|
static class |
Dinosaur.BirthType |
static class |
Dinosaur.DinosaurType |
| Constructor and Description |
|---|
Dinosaur() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyMeatEffect(net.minecraft.entity.player.EntityPlayer player,
boolean cooked) |
protected abstract DinosaurMetadata |
buildMetadata() |
int |
compareTo(Dinosaur dinosaur) |
DinosaurEntity |
construct(net.minecraft.world.World world) |
void |
disableRegistry() |
boolean |
doesSupportGrowthStage(GrowthStage stage) |
boolean |
equals(java.lang.Object object) |
protected int |
fromDays(int days) |
double[] |
getCubePosition(java.lang.String cubeName,
GrowthStage stage) |
net.minecraft.util.ResourceLocation |
getFemaleTexture(GrowthStage stage) |
double[] |
getHeadPosition(GrowthStage stage,
float rot) |
net.minecraft.util.ResourceLocation |
getIdentifier() |
java.lang.String |
getLocalizedName() |
net.minecraft.util.ResourceLocation |
getMaleTexture(GrowthStage stage) |
DinosaurMetadata |
getMetadata() |
net.ilexiconn.llibrary.client.model.tabula.container.TabulaModelContainer |
getModelContainer(GrowthStage stage) |
net.minecraft.util.ResourceLocation |
getOverlayTextures(OverlayType type,
DinosaurEntity entity) |
double[] |
getParentedCubePosition(java.lang.String cubeName,
GrowthStage stage,
float rot) |
static javax.vecmath.Matrix4d |
getParentRotationMatrix(net.ilexiconn.llibrary.client.model.tabula.container.TabulaModelContainer model,
net.ilexiconn.llibrary.client.model.tabula.container.TabulaCubeContainer cube,
boolean includeParents,
boolean ignoreSelf,
float rot) |
PoseHandler<?> |
getPoseHandler() |
java.util.Map<java.lang.String,net.ilexiconn.llibrary.client.model.tabula.container.TabulaModelContainer> |
getSkeletonModel() |
protected java.util.HashMap<java.lang.String,net.ilexiconn.llibrary.client.model.tabula.container.TabulaModelContainer> |
getSkeletonModels() |
java.util.List<GrowthStage> |
getSupportedStages() |
int |
hashCode() |
void |
init() |
protected net.ilexiconn.llibrary.client.model.tabula.container.TabulaModelContainer |
parseModel(java.lang.String growthStage) |
boolean |
shouldRegister() |
protected abstract DinosaurMetadata buildMetadata()
public static javax.vecmath.Matrix4d getParentRotationMatrix(net.ilexiconn.llibrary.client.model.tabula.container.TabulaModelContainer model,
net.ilexiconn.llibrary.client.model.tabula.container.TabulaCubeContainer cube,
boolean includeParents,
boolean ignoreSelf,
float rot)
public void init()
@Nullable protected net.ilexiconn.llibrary.client.model.tabula.container.TabulaModelContainer parseModel(java.lang.String growthStage)
@Nonnull protected java.util.HashMap<java.lang.String,net.ilexiconn.llibrary.client.model.tabula.container.TabulaModelContainer> getSkeletonModels()
public net.minecraft.util.ResourceLocation getMaleTexture(GrowthStage stage)
public net.minecraft.util.ResourceLocation getFemaleTexture(GrowthStage stage)
public void disableRegistry()
public boolean shouldRegister()
public int hashCode()
hashCode in class java.lang.Objectprotected int fromDays(int days)
public int compareTo(Dinosaur dinosaur)
compareTo in interface java.lang.Comparable<Dinosaur>public net.minecraft.util.ResourceLocation getOverlayTextures(OverlayType type, DinosaurEntity entity)
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic double[] getCubePosition(java.lang.String cubeName,
GrowthStage stage)
public double[] getParentedCubePosition(java.lang.String cubeName,
GrowthStage stage,
float rot)
public double[] getHeadPosition(GrowthStage stage, float rot)
public net.ilexiconn.llibrary.client.model.tabula.container.TabulaModelContainer getModelContainer(GrowthStage stage)
public java.util.Map<java.lang.String,net.ilexiconn.llibrary.client.model.tabula.container.TabulaModelContainer> getSkeletonModel()
public PoseHandler<?> getPoseHandler()
public DinosaurEntity construct(net.minecraft.world.World world)
public void applyMeatEffect(net.minecraft.entity.player.EntityPlayer player,
boolean cooked)
public DinosaurMetadata getMetadata()
public boolean doesSupportGrowthStage(GrowthStage stage)
public java.util.List<GrowthStage> getSupportedStages()
public net.minecraft.util.ResourceLocation getIdentifier()
public java.lang.String getLocalizedName()