Class TameableShoulderEntity

All Implemented Interfaces:
Attackable, DataTracked, EquipmentHolder, Tameable, Targeter, ScoreHolder, CommandOutput, 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 cge
  • Field Details

    • READY_TO_SIT_COOLDOWN

      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 cb Lcge;cb:I
    • ticks

      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 cc Lcge;cc:I
  • Constructor Details

    • TameableShoulderEntity

      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> Lbsw;<init>(Lbtc;Ldca;)V
  • Method Details

    • mountOnto

      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 Lcge;b(Larg;)Z
    • tick

      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 l Lbsw;l()V
    • isReadyToSitOnPlayer

      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 gz Lcge;gz()Z