net.minecraft.entity.passive

public abstract class AbstractCowEntity

extends AnimalEntity

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, EntryConvertible, Attackable, ServerWaypoint, Waypoint, Targeter, EquipmentHolder, Leashable

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

Field summary

Modifier and TypeField
private static final EntityDimensions
BABY_DIMENSIONS
field_47771
BABY_BASE_DIMENSIONS

Constructor summary

ModifierConstructor
public (EntityType<? extends AbstractCowEntity> type, World level)

Method summary

Modifier and TypeMethod
protected void
registerGoals()
method_5959()
initGoals()
public boolean
isFood(ItemStack itemStack)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
public static DefaultAttributeContainer$Builder
createAttributes()
method_26883()
createCowAttributes()
protected SoundEvent
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
getHurtSound(DamageSource source)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
getDeathSound()
method_6002()
getDeathSound()
protected void
playStepSound(BlockPos pos, BlockState blockState)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
protected float
getSoundVolume()
method_6107()
getSoundVolume()
protected CowSoundVariant
getSoundSet()
method_1_2289()
getSoundVariantValue()
public ActionResult
mobInteract(Player player, InteractionHand hand)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
public EntityDimensions
getDefaultDimensions(Pose pose)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
private static boolean
lambda$registerGoals$0(ItemStack arg0)
method_58367(class_1799 arg0)
method_58367(ItemStack stack)