Class ShoulderRidingEntity

All Implemented Interfaces:
CommandSource, OwnableEntity, EntityAccess, Nameable, ICapabilityProvider, ICapabilityProviderImpl<Entity>, ICapabilitySerializable<CompoundTag>, IForgeEntity, IForgeLivingEntity, 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()