Package net.minecraft.entity.passive
Class CowEntity
- All Implemented Interfaces:
CommandSource,EntityCategoryProvider
- Direct Known Subclasses:
MooshroomEntity
- Mappings:
Namespace Name official absintermediary net/minecraft/class_944named net/minecraft/entity/passive/CowEntity
-
Field Summary
Fields inherited from class net.minecraft.entity.passive.AnimalEntity
field_11973Fields inherited from class net.minecraft.entity.passive.PassiveEntity
field_11896, field_11898, forcedAgeFields inherited from class net.minecraft.entity.PathAwareEntity
FLEEING_SPEED_BONUS_ID, FLEEING_SPEED_MODIFIERFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, attackGoals, entityMotionHelper, experiencePoints, goals, jumpControl, navigationFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, field_6748, field_6749, field_6750, field_6752, field_6753, field_6771, field_6776, field_6777, field_6778, field_6782, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headYaw, hurtTime, jumping, knockbackVelocity, lastHandSwingProgress, maxHurtTime, playerHitTimer, prevBodyYaw, prevDistanceTravelled, prevHeadYaw, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, serverPitch, serverY, serverYaw, serverZ, serxerX, sidewaysSpeed, stepBobbingAmountFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_22434, field_3223, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, updateNeeded, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbreed(PassiveEntity passiveEntity) booleancanBeLeashedBy(PlayerEntity player) protected voiddropLoot(boolean allowDrops, int lootingMultiplier) protected Stringprotected Stringprotected Itemfloatprotected Stringprotected floatprotected voidprotected voidplayStepSound(BlockPos pos, Block block) Methods inherited from class net.minecraft.entity.passive.AnimalEntity
canBreedWith, canImmediatelyDespawn, canSpawn, damage, eat, getLovingPlayer, getMinAmbientSoundDelay, getPathfindingFavor, getXpToDrop, handleStatus, isBreedingItem, isInLove, lovePlayer, mobTick, readCustomDataFromNbt, resetLoveTicks, tickMovement, writeCustomDataToNbtMethods inherited from class net.minecraft.entity.passive.PassiveEntity
age, initDataTracker, isBaby, method_10925, method_10926, method_5377, method_5378, method_6095, setAge, setBoundsMethods inherited from class net.minecraft.entity.PathAwareEntity
getPositionTarget, getPositionTargetRange, hasPositionTarget, isInWalkTargetRange, isInWalkTargetRange, method_6173, method_6175, setPositionTarget, shouldContinue, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canAttackEntity, canBeControlledByRider, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, createNavigation, detachLeash, equip, getArmorStacks, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMainSlot, getMotionHelper, getNavigation, getSafeFallDistance, getStackInHand, getTarget, getVisibilityCache, initEquipment, initialize, isLeashed, isPersistent, isTameable, lookAtEntity, loot, method_2469, method_2638, method_4470, method_4472, method_4485, method_5388, method_6162, method_8374, onEatingGrass, openInventory, playAmbientSound, playSpawnEffects, setAiDisabled, setArmorSlot, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, tick, tickNewAi, turnHead, updateEnchantmentsMethods inherited from class net.minecraft.entity.LivingEntity
addStatusEffect, animateDamage, applyArmorDamage, applyDamage, applyEnchantmentsToDamage, canSee, clearStatusEffects, collides, damageArmor, destroy, dropXp, endCombat, enterCombat, fall, getAbsorption, getArmorProtectionValue, getAttacker, getAttacking, getAttributeContainer, getDamageTracker, getEffectInstance, getFallSound, getGroup, getHandSwingProgress, getHeadRotation, getHealth, getJumpVelocity, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getMovementSpeed, getNextAirUnderwater, getOpponent, getRandom, getRotation, getRotationVector, getScoreboardTeam, getSoundPitch, getStatusEffectInstances, getStuckArrows, handleFallDamage, hasStatusEffect, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isClimbing, isInSameTeam, isInTeam, isPushable, isSleeping, jump, kill, markEffectsDirty, method_10979, method_10981, method_2582, method_2607, method_2610, method_2634, method_2649, method_2658, method_4473, method_6108, method_6109, method_6111, method_6117, method_6149, method_6150, method_6152, onKilled, pushAway, removeEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, shouldAlwaysDropXp, shouldDropXp, shouldRenderName, startRiding, swingHand, tickCramming, tickHandSwing, tickRiding, tickStatusEffects, travel, tryAttack, updatePotionVisibility, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, attemptSprintingParticles, burn, canAvoidTraps, canClimb, canExplosionDestroyBlock, canFly, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, dealDamage, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, equals, extinguish, fromClientNbt, fromNbt, getAir, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBrightnessAtEyes, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getFlag, getHardCollisionBox, getHeightOffset, getHorizontalDirection, getHoverEvent, getLightmapCoordinates, getMaxNetherPortalTime, getMountedHeightOffset, getParts, getPos, getRotationVector, getSavedEntityId, getSplashSound, getSwimSound, getTargetingMargin, getTranslationKey, getUuid, getWorld, handleAttack, hasCustomName, hashCode, hasVehicle, increaseTransforms, interactAt, isAttackable, isCustomNameVisible, isFireImmune, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isSwimming, isTouchingLava, isTouchingWater, method_10786, method_10941, method_10948, method_10957, method_10965, method_6097, method_6344, method_8364, move, onKilledOther, onLightningStrike, onPlayerCollision, onSwimmingStart, playSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToNbt, saveToNbt, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFlag, setInLava, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setSwimming, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, teleportToDimension, tickFire, toListNbt, toListNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateVelocity, updateWaterState, writePlayerData
-
Constructor Details
-
CowEntity
- Mappings:
Namespace Name Mixin selector official <init>Lwv;<init>(Laqu;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
-
Method Details
-
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classMobEntity- Mappings:
Namespace Name Mixin selector official aWLxm;aW()Vintermediary method_6129Lnet/minecraft/class_1699;method_6129()Vnamed initializeAttributesLnet/minecraft/entity/LivingEntity;initializeAttributes()V
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official zLxn;z()Ljava/lang/String;intermediary method_2603Lnet/minecraft/class_871;method_2603()Ljava/lang/String;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Ljava/lang/String;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official bnLxm;bn()Ljava/lang/String;intermediary method_2604Lnet/minecraft/class_1699;method_2604()Ljava/lang/String;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official boLxm;bo()Ljava/lang/String;intermediary method_2605Lnet/minecraft/class_1699;method_2605()Ljava/lang/String;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
-
playStepSound
- Overrides:
playStepSoundin classEntity- Mappings:
Namespace Name Mixin selector official aLwv;a(Ldt;Latr;)Vintermediary method_10936Lnet/minecraft/class_864;method_10936(Lnet/minecraft/class_2552;Lnet/minecraft/class_197;)Vnamed playStepSoundLnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolumein classLivingEntity- Mappings:
Namespace Name Mixin selector official bALxm;bA()Fintermediary method_2602Lnet/minecraft/class_1699;method_2602()Fnamed getSoundVolumeLnet/minecraft/entity/LivingEntity;getSoundVolume()F
-
getDefaultDrop
- Overrides:
getDefaultDropin classMobEntity- Mappings:
Namespace Name Mixin selector official ALxn;A()Lalq;intermediary method_8375Lnet/minecraft/class_871;method_8375()Lnet/minecraft/class_1069;named getDefaultDropLnet/minecraft/entity/mob/MobEntity;getDefaultDrop()Lnet/minecraft/item/Item;
-
dropLoot
protected void dropLoot(boolean allowDrops, int lootingMultiplier) -
canBeLeashedBy
- Overrides:
canBeLeashedByin classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLxn;a(Lahd;)Zintermediary method_2537Lnet/minecraft/class_871;method_2537(Lnet/minecraft/class_988;)Znamed canBeLeashedByLnet/minecraft/entity/mob/MobEntity;canBeLeashedBy(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
breed
- Specified by:
breedin classPassiveEntity- Mappings:
Namespace Name Mixin selector official bLabs;b(Lws;)Labs;intermediary method_4517Lnet/minecraft/class_944;method_4517(Lnet/minecraft/class_862;)Lnet/minecraft/class_944;named breedLnet/minecraft/entity/passive/CowEntity;breed(Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/CowEntity;
-
getEyeHeight
public float getEyeHeight()- Overrides:
getEyeHeightin classEntity- Mappings:
Namespace Name Mixin selector official aRLwv;aR()Fintermediary method_2544Lnet/minecraft/class_864;method_2544()Fnamed getEyeHeightLnet/minecraft/entity/Entity;getEyeHeight()F
-