Class TameableShoulderEntity

All Implemented Interfaces:
Attackable, DataTracked, EquipmentHolder, Leashable, Tameable, Targeter, ScoreHolder, Nameable, EntityLike
Direct Known Subclasses:
ParrotEntity

public abstract class TameableShoulderEntity extends TameableEntity
Mappings:
Namespace Name
named net/minecraft/entity/passive/TameableShoulderEntity
intermediary net/minecraft/class_1471
official chw
  • Field Details Link icon

    • READY_TO_SIT_COOLDOWN Link icon

      private static final int READY_TO_SIT_COOLDOWN
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named READY_TO_SIT_COOLDOWN Lnet/minecraft/entity/passive/TameableShoulderEntity;READY_TO_SIT_COOLDOWN:I
      intermediary field_30372 Lnet/minecraft/class_1471;field_30372:I
      official cc Lchw;cc:I
    • ticks Link icon

      private int ticks
      Mappings:
      Namespace Name Mixin selector
      named ticks Lnet/minecraft/entity/passive/TameableShoulderEntity;ticks:I
      intermediary field_6864 Lnet/minecraft/class_1471;field_6864:I
      official cd Lchw;cd:I
  • Constructor Details Link icon

    • TameableShoulderEntity Link icon

      protected TameableShoulderEntity(EntityType<? extends TameableShoulderEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      official <init> Lbum;<init>(Lbut;Ldgj;)V
  • Method Details Link icon

    • mountOnto Link icon

      public boolean mountOnto(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named mountOnto Lnet/minecraft/entity/passive/TameableShoulderEntity;mountOnto(Lnet/minecraft/server/network/ServerPlayerEntity;)Z
      intermediary method_6627 Lnet/minecraft/class_1471;method_6627(Lnet/minecraft/class_3222;)Z
      official b Lchw;b(Lare;)Z
    • tick Link icon

      public void tick()
      Ticks this entity.
      Overrides:
      tick in class MobEntity
      See Also:
      API Note:
      This can be overridden to add additional logics. super.tick(); should be called in those cases.
      Implementation Note:
      By default, this delegates all logics to MobEntity.baseTick().
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/entity/Entity;tick()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      official h Lbum;h()V
    • isReadyToSitOnPlayer Link icon

      public boolean isReadyToSitOnPlayer()
      Mappings:
      Namespace Name Mixin selector
      named isReadyToSitOnPlayer Lnet/minecraft/entity/passive/TameableShoulderEntity;isReadyToSitOnPlayer()Z
      intermediary method_6626 Lnet/minecraft/class_1471;method_6626()Z
      official gI Lchw;gI()Z