public class GoatEntity extends net.minecraft.entity.passive.EntityAnimal implements Animatable, net.minecraftforge.fml.common.registry.IEntityAdditionalSpawnData
| Modifier and Type | Class and Description |
|---|---|
static class |
GoatEntity.Type |
static class |
GoatEntity.Variant |
| Modifier and Type | Field and Description |
|---|---|
protected Animal |
animal |
static PoseHandler<GoatEntity> |
BILLY_POSE_HANDLER |
static PoseHandler<GoatEntity> |
KID_POSE_HANDLER |
static PoseHandler<GoatEntity> |
NANNY_POSE_HANDLER |
forcedAge, forcedAgeTimer, growingAgeFLEEING_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 |
|---|
GoatEntity(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 |
canMateWith(net.minecraft.entity.passive.EntityAnimal other) |
boolean |
canUseGrowthStage(GrowthStage growthStage) |
protected net.minecraft.entity.EntityBodyHelper |
createBodyHelper() |
net.minecraft.entity.EntityAgeable |
createChild(net.minecraft.entity.EntityAgeable mate) |
protected void |
dropFewItems(boolean wasRecentlyHit,
int lootingModifier) |
void |
eatGrassBonus() |
protected void |
entityInit() |
protected net.minecraft.util.SoundEvent |
getAmbientSound() |
net.ilexiconn.llibrary.server.animation.Animation |
getAnimation() |
net.ilexiconn.llibrary.server.animation.Animation[] |
getAnimations() |
int |
getAnimationTick() |
byte |
getAnimationVariant(net.ilexiconn.llibrary.server.animation.Animation animation) |
protected net.minecraft.util.SoundEvent |
getDeathSound() |
java.lang.Class |
getEntityClass() |
GrowthStage |
getGrowthStage() |
protected net.minecraft.util.SoundEvent |
getHurtSound(net.minecraft.util.DamageSource source) |
protected float |
getJumpUpwardsMotion() |
int |
getMaxSpawnedInChunk() |
PoseHandler |
getPoseHandler() |
protected float |
getSoundVolume() |
int |
getTalkInterval() |
GoatEntity.Type |
getType() |
GoatEntity.Variant |
getVariant() |
java.util.HashMap<net.ilexiconn.llibrary.server.animation.Animation,java.lang.Byte> |
getVariants() |
protected void |
initEntityAI() |
boolean |
inLava() |
boolean |
inWater() |
boolean |
isBreedingItem(net.minecraft.item.ItemStack stack) |
boolean |
isCarcass() |
boolean |
isClimbing() |
boolean |
isMarineCreature() |
boolean |
isMoving() |
boolean |
isRunning() |
boolean |
isSleeping() |
boolean |
isSwimming() |
net.minecraft.entity.IEntityLivingData |
onInitialSpawn(net.minecraft.world.DifficultyInstance difficulty,
net.minecraft.entity.IEntityLivingData data) |
void |
onUpdate() |
void |
playLivingSound() |
boolean |
processInteract(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand) |
void |
readEntityFromNBT(net.minecraft.nbt.NBTTagCompound compound) |
void |
readSpawnData(io.netty.buffer.ByteBuf additionalData) |
void |
setAnimation(net.ilexiconn.llibrary.server.animation.Animation newAnimation) |
void |
setAnimationTick(int tick) |
void |
setAnimationWithVariant(net.ilexiconn.llibrary.server.animation.Animation newAnimation,
byte variant) |
boolean |
shouldUseInertia() |
void |
writeEntityToNBT(net.minecraft.nbt.NBTTagCompound compound) |
void |
writeSpawnData(io.netty.buffer.ByteBuf buffer) |
attackEntityFrom, canDespawn, consumeItemFromStack, getBlockPathWeight, getCanSpawnHere, getExperiencePoints, getLoveCause, getYOffset, handleStatusUpdate, isInLove, onLivingUpdate, resetInLove, setInLove, updateAITasksaddGrowth, ageUp, getGrowingAge, holdingSpawnEggOfClass, isChild, notifyDataManagerChange, onGrowingAdult, setGrowingAge, setScale, setScaleForAge, setSizedetachHome, followLeashSpeed, getHomePosition, getMaximumHomeDistance, hasHome, hasPath, isWithinHomeDistanceCurrentPosition, isWithinHomeDistanceFromPosition, onLeashDistance, setHomePosAndDistance, updateLeashedStatecanAttackClass, canBeLeashedTo, canBeSteered, canEquipItem, canPassengerSteer, canPickUpLoot, clearLeashed, createNavigator, despawnEntity, dropEquipment, dropLoot, enablePersistence, faceEntity, getArmorByChance, getArmorInventoryList, getAttackTarget, getDropItem, getEntitySenses, getHeldEquipment, getHorizontalFaceSpeed, getItemStackFromSlot, getJumpHelper, getLeashed, getLeashHolder, getLookHelper, getLootTable, getMaxFallHeight, getMoveHelper, getNavigator, getPathPriority, getPrimaryHand, getRenderSizeModifier, getSlotForItemStack, getVerticalFaceSpeed, isAIDisabled, isItemStackInSlot, isLeftHanded, isNoDespawnRequired, isNotColliding, isServerWorld, onEntityUpdate, playHurtSound, processInitialInteract, registerFixesMob, replaceItemInInventory, setAIMoveSpeed, setAttackTarget, setCanPickUpLoot, setDropChance, setEnchantmentBasedOnDifficulty, setEquipmentBasedOnDifficulty, setItemStackToSlot, setLeashHolder, setLeftHanded, setMoveForward, setMoveStrafing, setMoveVertical, setNoAI, setPathPriority, spawnExplosionParticle, startRiding, updateDistance, updateEntityActionState, updateEquipmentIfNeededaddPotionEffect, applyArmorCalculations, applyPotionDamageCalculations, areAllPotionsAmbient, attackable, attackEntityAsMob, attemptTeleport, blockUsingShield, canBeCollidedWith, canBeHitWithPotion, canBePushed, canBreatheUnderwater, canDropLoot, canEntityBeSeen, clearActivePotions, collideWithEntity, 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, getSoundPitch, getSwingProgress, getTicksElytraFlying, getTotalArmorValue, getWaterSlowDown, handleJumpLava, handleJumpWater, hasCapability, hasItemInSlot, heal, isActiveItemStackBlocking, isElytraFlying, isEntityAlive, isEntityUndead, isHandActive, isMovementBlocked, isOnLadder, isPlayer, isPlayerSleeping, isPotionActive, isPotionApplicable, jump, knockBack, markPotionsDirty, markVelocityChanged, onChangedPotionEffect, onDeath, 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, entityDropItem, 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, getEyeHeight, getFireImmuneTicks, getFlag, getForward, getHorizontalFacing, getHoverEvent, getIsInvulnerable, getLastPortalVec, getLookVec, getLowestRidingEntity, getMaxInPortalTime, getMirroredYaw, getMountedYOffset, getName, getParts, getPassengers, getPersistentID, getPickedResult, getPitchYaw, getPortalCooldown, getPosition, getPositionEyes, getPositionVector, getPushReaction, getRecursivePassengers, getRecursivePassengersByType, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getServer, getSoundCategory, getSplashSound, getSwimSound, getTags, getTeam, getTeleportDirection, getUniqueID, getVectorForRotation, handleWaterMovement, hasCustomName, hashCode, hasNoGravity, hitByEntity, ignoreItemEntityData, isBeingRidden, isBurning, isCreatureType, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isNonBoss, isOffsetPositionInLiquid, isOnSameTeam, isOnScoreboardTeam, isOutsideBorder, isOverWater, isPassenger, isPushedByWater, isRiding, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSpectatedByPlayer, isSprinting, isWet, makeFlySound, move, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onCollideWithPlayer, onInsideBlock, onKillEntity, onStruckByLightning, playFlySound, playSound, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, rayTrace, readFromNBT, 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, toString, turn, updatePassenger, writeToNBT, writeToNBTAtomically, writeToNBTOptionalpublic static final PoseHandler<GoatEntity> BILLY_POSE_HANDLER
public static final PoseHandler<GoatEntity> KID_POSE_HANDLER
public static final PoseHandler<GoatEntity> NANNY_POSE_HANDLER
protected Animal animal
protected net.minecraft.entity.EntityBodyHelper createBodyHelper()
createBodyHelper in class net.minecraft.entity.EntityLivingprotected void initEntityAI()
initEntityAI in class net.minecraft.entity.EntityLivingprotected void applyEntityAttributes()
applyEntityAttributes in class net.minecraft.entity.EntityLivingpublic void addVariant(net.ilexiconn.llibrary.server.animation.Animation animation,
byte variant)
addVariant in interface Animatableprotected void entityInit()
entityInit in class net.minecraft.entity.EntityAgeablepublic net.minecraft.entity.EntityAgeable createChild(net.minecraft.entity.EntityAgeable mate)
createChild in class net.minecraft.entity.EntityAgeablepublic boolean isCarcass()
isCarcass in interface Animatablepublic byte getAnimationVariant(net.ilexiconn.llibrary.server.animation.Animation animation)
getAnimationVariant in interface Animatablepublic boolean isMoving()
isMoving in interface Animatablepublic boolean isClimbing()
isClimbing in interface Animatablepublic boolean isSwimming()
isSwimming in interface Animatablepublic boolean isRunning()
isRunning in interface Animatablepublic boolean canUseGrowthStage(GrowthStage growthStage)
canUseGrowthStage in interface Animatablepublic boolean isMarineCreature()
isMarineCreature in interface Animatablepublic boolean shouldUseInertia()
shouldUseInertia in interface Animatablepublic boolean isSleeping()
isSleeping in interface Animatablepublic boolean inWater()
inWater in interface Animatablepublic boolean inLava()
inLava in interface Animatablepublic void onUpdate()
onUpdate in class net.minecraft.entity.EntityLivingpublic 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 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 GrowthStage getGrowthStage()
getGrowthStage in interface Animatablepublic PoseHandler getPoseHandler()
getPoseHandler in interface Animatablepublic GoatEntity.Type getType()
public void playLivingSound()
playLivingSound in class net.minecraft.entity.EntityLivingprotected net.minecraft.util.SoundEvent getAmbientSound()
getAmbientSound in class net.minecraft.entity.EntityLivingprotected net.minecraft.util.SoundEvent getHurtSound(net.minecraft.util.DamageSource source)
getHurtSound in class net.minecraft.entity.EntityLivingBaseprotected net.minecraft.util.SoundEvent getDeathSound()
getDeathSound in class net.minecraft.entity.EntityLivingBaseprotected float getJumpUpwardsMotion()
getJumpUpwardsMotion in class net.minecraft.entity.EntityLivingBasepublic void eatGrassBonus()
eatGrassBonus in class net.minecraft.entity.EntityLivingpublic boolean processInteract(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand)
processInteract in class net.minecraft.entity.passive.EntityAnimalpublic net.minecraft.entity.IEntityLivingData onInitialSpawn(net.minecraft.world.DifficultyInstance difficulty,
net.minecraft.entity.IEntityLivingData data)
onInitialSpawn in class net.minecraft.entity.EntityLivingpublic void writeEntityToNBT(net.minecraft.nbt.NBTTagCompound compound)
writeEntityToNBT in class net.minecraft.entity.passive.EntityAnimalpublic void readEntityFromNBT(net.minecraft.nbt.NBTTagCompound compound)
readEntityFromNBT in class net.minecraft.entity.passive.EntityAnimalpublic 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 boolean isBreedingItem(net.minecraft.item.ItemStack stack)
isBreedingItem in class net.minecraft.entity.passive.EntityAnimalprotected void dropFewItems(boolean wasRecentlyHit,
int lootingModifier)
dropFewItems in class net.minecraft.entity.EntityLivingprotected float getSoundVolume()
getSoundVolume in class net.minecraft.entity.EntityLivingBasepublic GoatEntity.Variant getVariant()
public int getMaxSpawnedInChunk()
getMaxSpawnedInChunk in class net.minecraft.entity.EntityLivingpublic int getTalkInterval()
getTalkInterval in class net.minecraft.entity.passive.EntityAnimalpublic boolean canMateWith(net.minecraft.entity.passive.EntityAnimal other)
canMateWith in class net.minecraft.entity.passive.EntityAnimalpublic java.util.HashMap<net.ilexiconn.llibrary.server.animation.Animation,java.lang.Byte> getVariants()
getVariants in interface Animatablepublic void setAnimationWithVariant(net.ilexiconn.llibrary.server.animation.Animation newAnimation,
byte variant)
setAnimationWithVariant in interface Animatablepublic java.lang.Class getEntityClass()
getEntityClass in interface Animatable