Class ShoulderRidingEntity

All Implemented Interfaces:
CommandSource, SyncedDataHolder, Attackable, EquipmentUser, Leashable, OwnableEntity, Targeting, EntityAccess, Nameable, ScoreHolder, IAttachmentHolder, IEntityExtension, ILivingEntityExtension, INBTSerializable<CompoundTag>
Direct Known Subclasses:
Parrot

public abstract class ShoulderRidingEntity extends TamableAnimal
  • Field Details

    • RIDE_COOLDOWN

      private static final int RIDE_COOLDOWN
      See Also:
    • rideCooldownCounter

      private int rideCooldownCounter
  • Constructor Details

  • Method Details

    • setEntityOnShoulder

      public boolean setEntityOnShoulder(ServerPlayer p_29896_)
    • tick

      public void tick()
      Overrides:
      tick in class Mob
    • canSitOnShoulder

      public boolean canSitOnShoulder()