net.minecraft.world.entity.animal

public abstract class AbstractCow

extends Animal

All mapped superinterfaces:

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

cjq
net.minecraft.world.entity.animal.AbstractCow
net.minecraft.class_1430
net.minecraft.entity.passive.AbstractCowEntity
net.minecraft.world.entity.animal.AbstractCow

Field summary

Modifier and TypeField
private static final EntityDimensions
bI
BABY_DIMENSIONS
field_47771
BABY_BASE_DIMENSIONS

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
C()
registerGoals()
method_5959()
initGoals()
public boolean
i(dak arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
public static AttributeSupplier$Builder
m()
createAttributes()
method_26883()
createCowAttributes()
protected SoundEvent
s()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(bvt arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
j_()
getDeathSound()
method_6002()
getDeathSound()
protected void
b(iw arg0, ebq arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
protected float
fe()
getSoundVolume()
method_6107()
getSoundVolume()
public InteractionResult
b(csi arg0, bvb arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
public EntityDimensions
e(byr arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)