net.minecraft.entity.mob

public class SkeletonHorseEntity

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.SkeletonHorse
net.minecraft.class_1506
net.minecraft.entity.mob.SkeletonHorseEntity

Field summary

Modifier and TypeField
private final SkeletonHorseTrapTriggerGoal
skeletonTrapGoal
field_7003
trapTriggerGoal
private static final int
TRAP_MAX_LIFE
field_30427
DESPAWN_AGE
private static final boolean
DEFAULT_IS_TRAP
field_57636
DEFAULT_TRAPPED
private static final int
DEFAULT_TRAP_TIME
field_57637
DEFAULT_TRAP_TIME
private static final EntityDimensions
BABY_DIMENSIONS
field_47809
BABY_BASE_DIMENSIONS
private boolean
isTrap
field_7005
trapped
private int
trapTime
field_7004
trapTime

Constructor summary

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

Method summary

Modifier and TypeMethod
public static DefaultAttributeContainer$Builder
createAttributes()
method_26901()
createSkeletonHorseAttributes()
public static boolean
checkSkeletonHorseSpawnRules(EntityType<? extends Animal> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random)
method_55001(class_1299<? extends class_1429> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
canSpawn(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random)
protected void
randomizeAttributes(RandomSource random)
method_6001(class_5819 arg0)
initAttributes(Random arg0)
protected void
addBehaviourGoals()
method_6764()
initCustomGoals()
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
getSwimSound()
method_5737()
getSwimSound()
protected void
playSwimSound(float volume)
method_5734(float arg0)
playSwimSound(float arg0)
protected void
playJumpSound()
method_6723()
playJumpSound()
public EntityDimensions
getDefaultDimensions(Pose pose)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
public void
aiStep()
method_6007()
tickMovement()
protected void
addAdditionalSaveData(ValueOutput output)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
protected void
readAdditionalSaveData(ValueInput input)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
protected float
getWaterSlowDown()
method_6120()
getBaseWaterMovementSpeedMultiplier()
public boolean
isTrap()
method_6812()
isTrapped()
public void
setTrap(boolean trap)
method_6813(boolean arg0)
setTrapped(boolean trapped)
public PassiveEntity
getBreedOffspring(ServerLevel level, AgeableMob partner)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
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
canAgeUp()
method_1_1246()
canAge()