@ParametersAreNonnullByDefault @MethodsReturnNonnullByDefault public abstract class DinosaurEntity extends net.minecraft.entity.EntityCreature implements net.minecraftforge.fml.common.registry.IEntityAdditionalSpawnData, Animatable
| Modifier and Type | Class and Description |
|---|---|
static class |
DinosaurEntity.FieldGuideInfo |
static class |
DinosaurEntity.Order |
| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.entity.ai.EntityAITasks |
animationTasks |
protected Dinosaur |
dinosaur |
protected int |
dinosaurAge |
int |
disableHerdingTicks |
Family |
family |
Herd |
herd |
boolean |
isRendered |
protected DinosaurEntity.Order |
order |
protected int |
prevAge |
java.util.Set<Relationship> |
relationships |
net.ilexiconn.llibrary.client.model.tools.ChainBuffer |
tailBuffer |
java.util.HashMap<net.ilexiconn.llibrary.server.animation.Animation,java.lang.Byte> |
variants |
int |
wireTicks |
FLEEING_SPEED_MODIFIER, FLEEING_SPEED_MODIFIER_UUIDexperienceValue, inventoryArmorDropChances, inventoryHandsDropChances, jumpHelper, livingSoundTime, moveHelper, navigator, targetTasks, tasksactiveItemStack, activeItemStackUseCount, arrowHitTimer, attackedAtYaw, attackingPlayer, cameraPitch, dead, deathTime, HAND_STATES, hurtTime, idleTime, interpTargetPitch, interpTargetX, interpTargetY, interpTargetYaw, interpTargetZ, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, maxHurtResistantTime, maxHurtTime, movedDistance, moveForward, moveStrafing, moveVertical, newPosRotationIncrements, onGroundSpeedFactor, prevCameraPitch, prevLimbSwingAmount, prevMovedDistance, prevOnGroundSpeedFactor, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomUnused1, randomUnused2, randomYawVelocity, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, swingingHand, swingProgress, swingProgressInt, ticksElytraFlying, ticksSinceLastSwing, unused180addedToChunk, cachedUniqueIdString, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, collided, collidedHorizontally, collidedVertically, dataManager, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, fallDistance, firstUpdate, FLAGS, forceSpawn, glowing, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isDead, isImmuneToFire, isInWeb, lastPortalPos, lastPortalVec, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, rideCooldown, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, teleportDirection, ticksExisted, timeUntilPortal, updateBlocked, velocityChanged, width, world| Constructor and Description |
|---|
DinosaurEntity(net.minecraft.world.World world) |
| Modifier and Type | Method and Description |
|---|---|
void |
addVariant(net.ilexiconn.llibrary.server.animation.Animation animation,
byte variant) |
protected void |
applyEntityAttributes() |
boolean |
areEyelidsClosed() |
boolean |
attackEntityAsMob(net.minecraft.entity.Entity entity) |
boolean |
attackEntityFrom(net.minecraft.util.DamageSource damageSource,
float amount) |
void |
breed(DinosaurEntity partner) |
boolean |
canBeLeashedTo(net.minecraft.entity.player.EntityPlayer player) |
boolean |
canBePushed() |
boolean |
canDespawn() |
boolean |
canDinoSwim() |
boolean |
canEatEntity(net.minecraft.entity.Entity entity) |
boolean |
canUseGrowthStage(GrowthStage growthStage) |
void |
collideWithEntity(net.minecraft.entity.Entity entity) |
protected net.minecraft.entity.EntityBodyHelper |
createBodyHelper() |
protected LegSolver |
createLegSolver() |
void |
disturbSleep() |
protected void |
dropFewItems(boolean playerAttack,
int looting) |
net.minecraft.entity.item.EntityItem |
entityDropItem(net.minecraft.item.ItemStack stack,
float offsetY) |
void |
entityInit() |
int |
getAgePercentage() |
net.minecraft.util.SoundEvent |
getAmbientSound() |
net.ilexiconn.llibrary.server.animation.Animation |
getAnimation() |
int |
getAnimationLength() |
net.ilexiconn.llibrary.server.animation.Animation[] |
getAnimations() |
int |
getAnimationTick() |
byte |
getAnimationVariant(net.ilexiconn.llibrary.server.animation.Animation animation) |
net.minecraft.entity.ai.EntityAIBase |
getAttackAI() |
int |
getAttackCooldown() |
double |
getAttackDamage() |
java.util.List<java.lang.Class<? extends net.minecraft.entity.EntityLivingBase>> |
getAttackTargets() |
DinosaurAttributes |
getAttributes() |
net.minecraft.util.SoundEvent |
getBreathingSound() |
int |
getBreedCooldown() |
boolean |
getCanSpawnHere() |
net.minecraft.util.math.BlockPos |
getClosestFeeder() |
int |
getDaysExisted() |
net.minecraft.util.SoundEvent |
getDeathSound() |
Dinosaur |
getDinosaur() |
int |
getDinosaurAge() |
javax.vecmath.Vector3f |
getDinosaurCultivatorRotation() |
int |
getDinosaurTime() |
int |
getDNAQuality() |
java.lang.Class |
getEntityClass() |
float |
getEyeHeight() |
java.lang.String |
getGenetics() |
GrowthStage |
getGrowthStage() |
net.minecraft.util.math.Vec3d |
getHeadPos() |
net.minecraft.util.SoundEvent |
getHurtSound(net.minecraft.util.DamageSource damageSourceIn) |
boolean |
getIsFossile() |
protected float |
getJumpUpwardsMotion() |
net.minecraft.entity.ai.EntityLookHelper |
getLookHelper() |
MetabolismContainer |
getMetabolism() |
DinosaurMetadata |
getMetadata() |
DinosaurEntity.Order |
getOrder() |
java.util.UUID |
getOwner() |
net.minecraft.item.ItemStack |
getPickedResult(net.minecraft.util.math.RayTraceResult target) |
<ENTITY extends net.minecraft.entity.EntityLivingBase & Animatable> |
getPoseHandler() |
byte |
getSkeletonVariant() |
net.minecraft.util.SoundEvent |
getSoundForAnimation(net.ilexiconn.llibrary.server.animation.Animation animation) |
float |
getSoundPitch() |
float |
getSoundVolume() |
int |
getStayAwakeTime() |
int |
getTalkInterval() |
java.util.HashMap<net.ilexiconn.llibrary.server.animation.Animation,java.lang.Byte> |
getVariants() |
protected float |
getWaterSlowDown() |
void |
giveBirth() |
protected void |
handleJumpWater() |
boolean |
hasTracker() |
void |
increaseGrowthSpeed() |
boolean |
inLava() |
double |
interpolate(double baby,
double adult) |
boolean |
inWater() |
boolean |
isAlive() |
boolean |
isBreeding() |
boolean |
isBusy() |
boolean |
isCarcass() |
boolean |
isClimbing() |
boolean |
isEntityFreindly(net.minecraft.entity.Entity entity) |
boolean |
isInRangeToRenderDist(double distance) |
boolean |
isMale() |
boolean |
isMarineCreature() |
boolean |
isMovementBlocked() |
boolean |
isMoving() |
boolean |
isOwner(net.minecraft.entity.player.EntityPlayer player) |
boolean |
isPregnant() |
boolean |
isRunning() |
boolean |
isSkeleton() |
boolean |
isSleeping() |
boolean |
isSwimming() |
void |
knockBack(net.minecraft.entity.Entity entity,
float p_70653_2_,
double motionX,
double motionZ) |
void |
moveRelative(float strafe,
float up,
float forward,
float friction) |
void |
onDeath(net.minecraft.util.DamageSource cause) |
net.minecraft.entity.IEntityLivingData |
onInitialSpawn(net.minecraft.world.DifficultyInstance difficulty,
net.minecraft.entity.IEntityLivingData data) |
void |
onLivingUpdate() |
void |
onUpdate() |
void |
playLivingSound() |
boolean |
processInteract(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand) |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbt) |
void |
readSpawnData(io.netty.buffer.ByteBuf additionalData) |
void |
resetAttackCooldown() |
void |
respondToAttack(net.minecraft.entity.EntityLivingBase attacker) |
void |
setAge(int age) |
void |
setAnimation(net.ilexiconn.llibrary.server.animation.Animation newAnimation) |
void |
setAnimationTick(int tick) |
void |
setAnimationWithVariant(net.ilexiconn.llibrary.server.animation.Animation newAnimation,
byte variant) |
void |
setAttributes(DinosaurAttributes attributes) |
void |
setCarcass(boolean carcass) |
void |
setDeathIn(int ticks) |
void |
setDNAQuality(int quality) |
void |
setFieldOrder(DinosaurEntity.Order order) |
void |
setFullyGrown() |
void |
setGenetics(java.lang.String genetics) |
void |
setHasTracker(boolean hasTracker) |
void |
setIsFossile(boolean isFossile) |
void |
setJumpHeight(int jumpHeight) |
void |
setMale(boolean male) |
void |
setOrder(DinosaurEntity.Order order) |
void |
setOwner(net.minecraft.entity.player.EntityPlayer player) |
protected void |
setSize(float width,
float height) |
void |
setSkeleton(boolean isSkeleton) |
void |
setSkeletonVariant(byte variant) |
void |
setSleeping(boolean sleeping) |
boolean |
setSleepLocation(net.minecraft.util.math.BlockPos sleepLocation,
boolean moveTo) |
void |
setupDisplay(boolean isMale) |
void |
setUseInertialTweens(boolean parUseInertialTweens) |
boolean |
shouldEscapeWaterFast() |
boolean |
shouldSleep() |
boolean |
shouldUseInertia() |
void |
target(java.lang.Class<? extends net.minecraft.entity.EntityLivingBase>... targets) |
java.lang.String |
toString() |
void |
tranquilize(int ticks) |
void |
updateAttributes() |
protected float |
updateDistance(float angle,
float distance) |
void |
writeSpawnData(io.netty.buffer.ByteBuf buffer) |
void |
writeStatsToLog() |
net.minecraft.nbt.NBTTagCompound |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbt) |
detachHome, followLeashSpeed, getBlockPathWeight, getHomePosition, getMaximumHomeDistance, hasHome, hasPath, isWithinHomeDistanceCurrentPosition, isWithinHomeDistanceFromPosition, onLeashDistance, setHomePosAndDistance, updateLeashedStatecanAttackClass, canBeSteered, canEquipItem, canPassengerSteer, canPickUpLoot, clearLeashed, createNavigator, despawnEntity, dropEquipment, dropLoot, eatGrassBonus, enablePersistence, faceEntity, getArmorByChance, getArmorInventoryList, getAttackTarget, getDropItem, getEntitySenses, getExperiencePoints, getHeldEquipment, getHorizontalFaceSpeed, getItemStackFromSlot, getJumpHelper, getLeashed, getLeashHolder, getLootTable, getMaxFallHeight, getMaxSpawnedInChunk, getMoveHelper, getNavigator, getPathPriority, getPrimaryHand, getRenderSizeModifier, getSlotForItemStack, getVerticalFaceSpeed, handleStatusUpdate, initEntityAI, isAIDisabled, isItemStackInSlot, isLeftHanded, isNoDespawnRequired, isNotColliding, isServerWorld, onEntityUpdate, playHurtSound, processInitialInteract, readEntityFromNBT, registerFixesMob, replaceItemInInventory, setAIMoveSpeed, setAttackTarget, setCanPickUpLoot, setDropChance, setEnchantmentBasedOnDifficulty, setEquipmentBasedOnDifficulty, setItemStackToSlot, setLeashHolder, setLeftHanded, setMoveForward, setMoveStrafing, setMoveVertical, setNoAI, setPathPriority, spawnExplosionParticle, startRiding, updateAITasks, updateEntityActionState, updateEquipmentIfNeeded, writeEntityToNBTaddPotionEffect, applyArmorCalculations, applyPotionDamageCalculations, areAllPotionsAmbient, attackable, attemptTeleport, blockUsingShield, canBeCollidedWith, canBeHitWithPotion, canBreatheUnderwater, canDropLoot, canEntityBeSeen, clearActivePotions, collideWithNearbyEntities, curePotionEffects, damageArmor, damageEntity, damageShield, decreaseAirSupply, dismountEntity, dismountRidingEntity, fall, frostWalk, getAbsorptionAmount, getActiveHand, getActiveItemStack, getActivePotionEffect, getActivePotionEffects, getActivePotionMap, getAIMoveSpeed, getAlwaysRenderNameTagForRender, getArrowCountInEntity, getAttackingEntity, getAttributeMap, getCapability, getCombatTracker, getCreatureAttribute, getEntityAttribute, getFallSound, getHealth, getHeldItem, getHeldItemMainhand, getHeldItemOffhand, getIdleTime, getItemInUseCount, getItemInUseMaxCount, getLastAttackedEntity, getLastAttackedEntityTime, getLastDamageSource, getLook, getMaxHealth, getRevengeTarget, getRevengeTimer, getRNG, getRotationYawHead, getSwingProgress, getTicksElytraFlying, getTotalArmorValue, handleJumpLava, hasCapability, hasItemInSlot, heal, isActiveItemStackBlocking, isChild, isElytraFlying, isEntityAlive, isEntityUndead, isHandActive, isOnLadder, isPlayer, isPlayerSleeping, isPotionActive, isPotionApplicable, jump, markPotionsDirty, markVelocityChanged, notifyDataManagerChange, onChangedPotionEffect, onDeathUpdate, onFinishedPotionEffect, onItemPickup, onItemUseFinish, onKillCommand, onNewPotionEffect, outOfWorld, performHurtAnimation, playEquipSound, removeActivePotionEffect, removePotionEffect, renderBrokenItemStack, resetActiveHand, resetPotionEffectMetadata, sendEndCombat, sendEnterCombat, setAbsorptionAmount, setActiveHand, setArrowCountInEntity, setHealth, setHeldItem, setJumping, setLastAttackedEntity, setPartying, setPositionAndRotationDirect, setRenderYawOffset, setRevengeTarget, setRotationYawHead, setSprinting, shouldRiderFaceForward, stopActiveHand, swingArm, travel, updateActiveHand, updateArmSwingProgress, updateFallState, updateItemUse, updatePotionEffects, updatePotionMetadata, updateRiddenaddEntityCrashInfo, addPassenger, addTag, addTrackingPlayer, addVelocity, applyEnchantments, applyEntityCollision, applyOrientationToEntity, applyPlayerInteraction, awardKillScore, canBeAttackedWithItem, canBeRidden, canExplosionDestroyBlock, canFitPassenger, canRenderOnFire, canRiderInteract, canTrample, canTriggerWalking, canUseCommand, changeDimension, changeDimension, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, decrementTimeUntilPortal, deserializeNBT, doBlockCollisions, doesEntityNotTriggerPressurePlate, doWaterSplashEffect, dropItem, dropItemWithOffset, equals, extinguish, getAdjustedHorizontalFacing, getAir, getAlwaysRenderNameTag, getBrightness, getBrightnessForRender, getCachedUniqueIdString, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSenderEntity, getCommandStats, getControllingPassenger, getCustomNameTag, getDataManager, getDisplayName, getDistance, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getEntityBoundingBox, getEntityData, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getFireImmuneTicks, getFlag, getForward, getHorizontalFacing, getHoverEvent, getIsInvulnerable, getLastPortalVec, getLookVec, getLowestRidingEntity, getMaxInPortalTime, getMirroredYaw, getMountedYOffset, getName, getParts, getPassengers, getPersistentID, getPitchYaw, getPortalCooldown, getPosition, getPositionEyes, getPositionVector, getPushReaction, getRecursivePassengers, getRecursivePassengersByType, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getServer, getSoundCategory, getSplashSound, getSwimSound, getTags, getTeam, getTeleportDirection, getUniqueID, getVectorForRotation, getYOffset, handleWaterMovement, hasCustomName, hashCode, hasNoGravity, hitByEntity, ignoreItemEntityData, isBeingRidden, isBurning, isCreatureType, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isNonBoss, isOffsetPositionInLiquid, isOnSameTeam, isOnScoreboardTeam, isOutsideBorder, isOverWater, isPassenger, isPushedByWater, isRiding, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSpectatedByPlayer, isSprinting, isWet, makeFlySound, move, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onCollideWithPlayer, onInsideBlock, onKillEntity, onStruckByLightning, playFlySound, playSound, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, rayTrace, registerFixes, removePassenger, removePassengers, removeTag, removeTrackingPlayer, resetEntityId, resetPositionToBB, sendCommandFeedback, sendMessage, serializeNBT, setAir, setAlwaysRenderNameTag, setCommandStat, setCommandStats, setCustomNameTag, setDead, setDropItemsWhenDead, setEntityBoundingBox, setEntityId, setEntityInvulnerable, setFire, setFlag, setGlowing, setInvisible, setInWeb, setLocationAndAngles, setNoGravity, setOnFireFromLava, setOutsideBorder, setPortal, setPosition, setPositionAndRotation, setPositionAndUpdate, setPositionNonDirty, setRenderDistanceWeight, setRotation, setSilent, setSneaking, setUniqueId, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, spawnRunningParticles, startRiding, turn, updatePassenger, writeToNBTAtomically, writeToNBTOptionalpublic java.util.HashMap<net.ilexiconn.llibrary.server.animation.Animation,java.lang.Byte> variants
protected Dinosaur dinosaur
protected int dinosaurAge
protected int prevAge
protected net.minecraft.entity.ai.EntityAITasks animationTasks
protected DinosaurEntity.Order order
public net.ilexiconn.llibrary.client.model.tools.ChainBuffer tailBuffer
public Herd herd
public Family family
public java.util.Set<Relationship> relationships
public int wireTicks
public int disableHerdingTicks
public boolean isRendered
@Nullable protected LegSolver createLegSolver()
protected net.minecraft.entity.EntityBodyHelper createBodyHelper()
createBodyHelper in class net.minecraft.entity.EntityLivingpublic net.minecraft.entity.ai.EntityLookHelper getLookHelper()
getLookHelper in class net.minecraft.entity.EntityLivingpublic boolean shouldSleep()
public int getDinosaurTime()
public boolean hasTracker()
public void setHasTracker(boolean hasTracker)
public java.util.UUID getOwner()
public void setOwner(net.minecraft.entity.player.EntityPlayer player)
public boolean attackEntityAsMob(net.minecraft.entity.Entity entity)
attackEntityAsMob in class net.minecraft.entity.EntityLivingBasepublic boolean attackEntityFrom(net.minecraft.util.DamageSource damageSource,
float amount)
attackEntityFrom in class net.minecraft.entity.EntityLivingBasepublic boolean canBePushed()
canBePushed in class net.minecraft.entity.EntityLivingBasepublic net.minecraft.entity.item.EntityItem entityDropItem(net.minecraft.item.ItemStack stack,
float offsetY)
entityDropItem in class net.minecraft.entity.Entitypublic void knockBack(net.minecraft.entity.Entity entity,
float p_70653_2_,
double motionX,
double motionZ)
knockBack in class net.minecraft.entity.EntityLivingBasepublic void onDeath(net.minecraft.util.DamageSource cause)
onDeath in class net.minecraft.entity.EntityLivingBasepublic void playLivingSound()
playLivingSound in class net.minecraft.entity.EntityLivingpublic void entityInit()
entityInit in class net.minecraft.entity.EntityLivingprotected void applyEntityAttributes()
applyEntityAttributes in class net.minecraft.entity.EntityLivingpublic void updateAttributes()
public double interpolate(double baby,
double adult)
public boolean isInRangeToRenderDist(double distance)
isInRangeToRenderDist in class net.minecraft.entity.Entitypublic void setupDisplay(boolean isMale)
public int getTalkInterval()
getTalkInterval in class net.minecraft.entity.EntityLivingpublic float getSoundPitch()
getSoundPitch in class net.minecraft.entity.EntityLivingBasepublic float getSoundVolume()
getSoundVolume in class net.minecraft.entity.EntityLivingBasepublic java.lang.String getGenetics()
public void setGenetics(java.lang.String genetics)
public boolean isEntityFreindly(net.minecraft.entity.Entity entity)
public boolean canEatEntity(net.minecraft.entity.Entity entity)
public void setAnimationWithVariant(net.ilexiconn.llibrary.server.animation.Animation newAnimation,
byte variant)
setAnimationWithVariant in interface Animatablepublic void onLivingUpdate()
onLivingUpdate in class net.minecraft.entity.EntityLivingpublic void onUpdate()
onUpdate in class net.minecraft.entity.EntityLivingpublic boolean isMovementBlocked()
isMovementBlocked in class net.minecraft.entity.EntityLivingBaseprotected float updateDistance(float angle,
float distance)
updateDistance in class net.minecraft.entity.EntityLivingpublic int getDaysExisted()
public void setFullyGrown()
public DinosaurMetadata getMetadata()
public Dinosaur getDinosaur()
public boolean canDespawn()
canDespawn in class net.minecraft.entity.EntityLivingpublic int getDinosaurAge()
public void setAge(int age)
public float getEyeHeight()
getEyeHeight in class net.minecraft.entity.Entityprotected void dropFewItems(boolean playerAttack,
int looting)
dropFewItems in class net.minecraft.entity.EntityLivingpublic boolean isCarcass()
isCarcass in interface Animatablepublic void setCarcass(boolean carcass)
public boolean processInteract(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand)
processInteract in class net.minecraft.entity.EntityLivingpublic boolean isOwner(net.minecraft.entity.player.EntityPlayer player)
public boolean canBeLeashedTo(net.minecraft.entity.player.EntityPlayer player)
canBeLeashedTo in class net.minecraft.entity.EntityLivingpublic int getDNAQuality()
public void setDNAQuality(int quality)
public net.ilexiconn.llibrary.server.animation.Animation[] getAnimations()
getAnimations in interface net.ilexiconn.llibrary.server.animation.IAnimatedEntitypublic net.ilexiconn.llibrary.server.animation.Animation getAnimation()
getAnimation in interface net.ilexiconn.llibrary.server.animation.IAnimatedEntitypublic void addVariant(net.ilexiconn.llibrary.server.animation.Animation animation,
byte variant)
addVariant in interface Animatablepublic java.lang.Class getEntityClass()
getEntityClass in interface Animatablepublic void setAnimation(net.ilexiconn.llibrary.server.animation.Animation newAnimation)
setAnimation in interface net.ilexiconn.llibrary.server.animation.IAnimatedEntitypublic int getAnimationTick()
getAnimationTick in interface net.ilexiconn.llibrary.server.animation.IAnimatedEntitypublic void setAnimationTick(int tick)
setAnimationTick in interface net.ilexiconn.llibrary.server.animation.IAnimatedEntitypublic boolean isBusy()
public boolean isAlive()
public net.minecraft.util.SoundEvent getAmbientSound()
getAmbientSound in class net.minecraft.entity.EntityLivingpublic net.minecraft.util.SoundEvent getHurtSound(net.minecraft.util.DamageSource damageSourceIn)
getHurtSound in class net.minecraft.entity.EntityLivingBasepublic net.minecraft.util.SoundEvent getDeathSound()
getDeathSound in class net.minecraft.entity.EntityLivingBasepublic net.minecraft.util.SoundEvent getSoundForAnimation(net.ilexiconn.llibrary.server.animation.Animation animation)
public net.minecraft.util.SoundEvent getBreathingSound()
public double getAttackDamage()
public boolean isMale()
public boolean isPregnant()
public void setMale(boolean male)
public int getAgePercentage()
public GrowthStage getGrowthStage()
getGrowthStage in interface Animatablepublic void increaseGrowthSpeed()
public int getBreedCooldown()
public void breed(DinosaurEntity partner)
public boolean isSwimming()
isSwimming in interface Animatablepublic net.minecraft.nbt.NBTTagCompound writeToNBT(net.minecraft.nbt.NBTTagCompound nbt)
writeToNBT in class net.minecraft.entity.Entitypublic byte getAnimationVariant(net.ilexiconn.llibrary.server.animation.Animation animation)
getAnimationVariant in interface Animatablepublic java.util.HashMap<net.ilexiconn.llibrary.server.animation.Animation,java.lang.Byte> getVariants()
getVariants in interface Animatablepublic void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
readFromNBT in class net.minecraft.entity.Entitypublic void writeSpawnData(io.netty.buffer.ByteBuf buffer)
writeSpawnData in interface net.minecraftforge.fml.common.registry.IEntityAdditionalSpawnDatapublic void readSpawnData(io.netty.buffer.ByteBuf additionalData)
readSpawnData in interface net.minecraftforge.fml.common.registry.IEntityAdditionalSpawnDatapublic MetabolismContainer getMetabolism()
public boolean setSleepLocation(net.minecraft.util.math.BlockPos sleepLocation,
boolean moveTo)
public boolean isSleeping()
isSleeping in interface Animatablepublic void setSleeping(boolean sleeping)
public void tranquilize(int ticks)
public int getStayAwakeTime()
public void disturbSleep()
public void writeStatsToLog()
public java.lang.String toString()
toString in class net.minecraft.entity.Entitypublic net.minecraft.util.math.Vec3d getHeadPos()
public boolean areEyelidsClosed()
public boolean shouldUseInertia()
shouldUseInertia in interface Animatablepublic void setUseInertialTweens(boolean parUseInertialTweens)
public net.minecraft.item.ItemStack getPickedResult(net.minecraft.util.math.RayTraceResult target)
getPickedResult in class net.minecraft.entity.Entityprotected float getWaterSlowDown()
getWaterSlowDown in class net.minecraft.entity.EntityLivingBasepublic void moveRelative(float strafe,
float up,
float forward,
float friction)
moveRelative in class net.minecraft.entity.Entitypublic void giveBirth()
public void setDeathIn(int ticks)
public void collideWithEntity(net.minecraft.entity.Entity entity)
collideWithEntity in class net.minecraft.entity.EntityLivingBaseprotected void setSize(float width,
float height)
setSize in class net.minecraft.entity.Entitypublic DinosaurEntity.Order getOrder()
public void setFieldOrder(DinosaurEntity.Order order)
public void setOrder(DinosaurEntity.Order order)
@SafeVarargs public final void target(java.lang.Class<? extends net.minecraft.entity.EntityLivingBase>... targets)
public net.minecraft.entity.ai.EntityAIBase getAttackAI()
public java.util.List<java.lang.Class<? extends net.minecraft.entity.EntityLivingBase>> getAttackTargets()
public net.minecraft.entity.IEntityLivingData onInitialSpawn(net.minecraft.world.DifficultyInstance difficulty,
net.minecraft.entity.IEntityLivingData data)
onInitialSpawn in class net.minecraft.entity.EntityLivingpublic int getAttackCooldown()
public void resetAttackCooldown()
public void respondToAttack(net.minecraft.entity.EntityLivingBase attacker)
public int getAnimationLength()
public boolean isRunning()
isRunning in interface Animatablepublic boolean getCanSpawnHere()
getCanSpawnHere in class net.minecraft.entity.EntityCreaturepublic boolean shouldEscapeWaterFast()
public net.minecraft.util.math.BlockPos getClosestFeeder()
public boolean isClimbing()
isClimbing in interface Animatablepublic boolean isMoving()
isMoving in interface Animatablepublic boolean canUseGrowthStage(GrowthStage growthStage)
canUseGrowthStage in interface Animatablepublic boolean isMarineCreature()
isMarineCreature in interface Animatablepublic <ENTITY extends net.minecraft.entity.EntityLivingBase & Animatable> PoseHandler<ENTITY> getPoseHandler()
getPoseHandler in interface Animatablepublic boolean inWater()
inWater in interface Animatablepublic boolean inLava()
inLava in interface Animatablepublic DinosaurAttributes getAttributes()
public boolean isBreeding()
public void setAttributes(DinosaurAttributes attributes)
public void setJumpHeight(int jumpHeight)
protected float getJumpUpwardsMotion()
getJumpUpwardsMotion in class net.minecraft.entity.EntityLivingBasepublic boolean isSkeleton()
public void setSkeleton(boolean isSkeleton)
public void setSkeletonVariant(byte variant)
public byte getSkeletonVariant()
public void setIsFossile(boolean isFossile)
public boolean getIsFossile()
public boolean canDinoSwim()
public javax.vecmath.Vector3f getDinosaurCultivatorRotation()
protected void handleJumpWater()
handleJumpWater in class net.minecraft.entity.EntityLivingBase