net.minecraft.world.entity.animal

public class Cow

extends Animal

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable, EquipmentUser, Leashable, Targeting

ciw
net.minecraft.world.entity.animal.Cow
net.minecraft.class_1430
net.minecraft.entity.passive.CowEntity

Field summary

Modifier and TypeField
private static final EntityDimensions
bF
BABY_DIMENSIONS
field_47771
BABY_BASE_DIMENSIONS

Constructor summary

ModifierConstructor
public (EntityType<? extends Cow> arg0, Level arg1)

Method summary

Modifier and TypeMethod
protected void
D()
registerGoals()
method_5959()
initGoals()
public boolean
k(cys arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
public static AttributeSupplier$Builder
q()
createAttributes()
method_26883()
createCowAttributes()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(bup arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
l_()
getDeathSound()
method_6002()
getDeathSound()
protected void
b(iu arg0, dzo arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
protected float
fd()
getSoundVolume()
method_6107()
getSoundVolume()
public InteractionResult
b(cqs arg0, btx arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
public Cow
b(aro arg0, bvq arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_6483(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
public EntityDimensions
e(bxl arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)