net.minecraft.entity.mob

public class ZombieHorseEntity

extends AbstractHorseEntity

All mapped superinterfaces:

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

net.minecraft.world.entity.animal.equine.ZombieHorse
net.minecraft.class_1507
net.minecraft.entity.mob.ZombieHorseEntity

Field summary

Modifier and TypeField
private static final float
SPEED_FACTOR
field_63324
field_63324
private static final double
BASE_JUMP_STRENGTH
field_63325
field_63325
private static final double
PER_RANDOM_JUMP_STRENGTH
field_63326
field_63326
private static final double
BASE_SPEED
field_63327
field_63327
private static final double
PER_RANDOM_SPEED
field_63323
field_63323
private static final EntityDimensions
BABY_DIMENSIONS
field_47810
BABY_BASE_DIMENSIONS

Constructor summary

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

Method summary

Modifier and TypeMethod
public static DefaultAttributeContainer$Builder
createAttributes()
method_26902()
createZombieHorseAttributes()
public ActionResult
interact(Player player, InteractionHand hand, Vec3 location)
method_5688(class_1657 arg0, class_1268 arg1, class_243 arg2)
interact(PlayerEntity arg0, Hand arg1, Vec3d arg2)
public boolean
removeWhenFarAway(double distSqr)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
public boolean
isMobControlled()
method_75147()
isControlledByMob()
protected void
randomizeAttributes(RandomSource random)
method_6001(class_5819 arg0)
initAttributes(Random arg0)
private static double
generateZombieHorseJumpStrength(DoubleSupplier probabilityProvider)
method_75148(DoubleSupplier arg0)
getBaseJumpStrength(DoubleSupplier randomSupplier)
private static double
generateZombieHorseSpeed(DoubleSupplier probabilityProvider)
method_75149(DoubleSupplier arg0)
getBaseMovementSpeed(DoubleSupplier randomSupplier)
protected SoundEvent
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
getDeathSound()
method_6002()
getDeathSound()
protected SoundEvent
getHurtSound(DamageSource source)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
getAngrySound()
method_6747()
getAngrySound()
protected SoundEvent
getEatingSound()
method_28368()
getEatSound()
public PassiveEntity
getBreedOffspring(ServerLevel level, AgeableMob partner)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
public boolean
canFallInLove()
method_6482()
canEat()
protected void
addBehaviourGoals()
method_6764()
initCustomGoals()
public EntityData
finalizeSpawn(ServerLevelAccessor level, DifficultyInstance difficulty, EntitySpawnReason spawnReason, SpawnGroupData groupData)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
public ActionResult
mobInteract(Player player, InteractionHand hand)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
public boolean
canUseSlot(EquipmentSlot slot)
method_56991(class_1304 arg0)
canUseSlot(EquipmentSlot arg0)
public boolean
canBeLeashed()
method_5931()
canBeLeashed()
public boolean
isFood(ItemStack itemStack)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
protected EquipmentSlot
sunProtectionSlot()
method_75127()
getDaylightProtectionSlot()
public Vec3d[]
getQuadLeashOffsets()
method_70992()
getQuadLeashOffsets()
public EntityDimensions
getDefaultDimensions(Pose pose)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
public float
chargeSpeedModifier()
method_76091()
getRiderChargingSpeedMultiplier()
public boolean
canAgeUp()
method_1_1246()
canAge()
private static boolean
lambda$addBehaviourGoals$0(ItemStack arg0)
method_75150(class_1799 arg0)
method_75150(ItemStack stack)