Class ShoulderRidingEntity

All Implemented Interfaces:
CommandSource, OwnableEntity, EntityAccess, Nameable, ICapabilityProvider, ICapabilitySerializable<CompoundTag>, IForgeEntity, INBTSerializable<CompoundTag>
Direct Known Subclasses:
Parrot

public abstract class ShoulderRidingEntity extends TamableAnimal
  • Field Details

    • RIDE_COOLDOWN

      private static final int RIDE_COOLDOWN
      See Also:
      Constant Field Values
    • 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()