Package net.minecraft

Class class_11032

All Implemented Interfaces:
ComponentsAccess, Attackable, DataTracked, EquipmentHolder, Leashable, Angerable, Tameable, Targeter, ScoreHolder, Nameable, EntityLike, UniquelyIdentifiable

public class class_11032 extends class_10995 implements Angerable
Mappings:
Namespace Name
named net/minecraft/class_11032
intermediary net/minecraft/class_11032
official cua
  • Field Details

    • field_58716

      private static final TrackedData<Boolean> field_58716
      Mappings:
      Namespace Name Mixin selector
      named field_58716 Lnet/minecraft/class_11032;field_58716:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_58716 Lnet/minecraft/class_11032;field_58716:Lnet/minecraft/class_2940;
      official bP Lcua;bP:Lale;
    • field_58717

      private static final TrackedData<Integer> field_58717
      Mappings:
      Namespace Name Mixin selector
      named field_58717 Lnet/minecraft/class_11032;field_58717:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_58717 Lnet/minecraft/class_11032;field_58717:Lnet/minecraft/class_2940;
      official bQ Lcua;bQ:Lale;
    • field_58718

      private static final TrackedData<Integer> field_58718
      Mappings:
      Namespace Name Mixin selector
      named field_58718 Lnet/minecraft/class_11032;field_58718:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_58718 Lnet/minecraft/class_11032;field_58718:Lnet/minecraft/class_2940;
      official bR Lcua;bR:Lale;
    • field_58719

      private static final TrackedData<RegistryEntry<WolfVariant>> field_58719
      Mappings:
      Namespace Name Mixin selector
      named field_58719 Lnet/minecraft/class_11032;field_58719:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_58719 Lnet/minecraft/class_11032;field_58719:Lnet/minecraft/class_2940;
      official bS Lcua;bS:Lale;
    • field_58720

      private static final TrackedData<RegistryEntry<WolfSoundVariant>> field_58720
      Mappings:
      Namespace Name Mixin selector
      named field_58720 Lnet/minecraft/class_11032;field_58720:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_58720 Lnet/minecraft/class_11032;field_58720:Lnet/minecraft/class_2940;
      official bT Lcua;bT:Lale;
    • field_58721

      private static final float field_58721
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58721 Lnet/minecraft/class_11032;field_58721:F
      intermediary field_58721 Lnet/minecraft/class_11032;field_58721:F
      official bU Lcua;bU:F
    • field_58722

      private static final float field_58722
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58722 Lnet/minecraft/class_11032;field_58722:F
      intermediary field_58722 Lnet/minecraft/class_11032;field_58722:F
      official bV Lcua;bV:F
    • field_58715

      public static final float field_58715
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58715 Lnet/minecraft/class_11032;field_58715:F
      intermediary field_58715 Lnet/minecraft/class_11032;field_58715:F
      official bO Lcua;bO:F
    • field_58723

      private static final DyeColor field_58723
      Mappings:
      Namespace Name Mixin selector
      named field_58723 Lnet/minecraft/class_11032;field_58723:Lnet/minecraft/util/DyeColor;
      intermediary field_58723 Lnet/minecraft/class_11032;field_58723:Lnet/minecraft/class_1767;
      official bW Lcua;bW:Ldbo;
    • field_58730

      private static final UniformIntProvider field_58730
      Mappings:
      Namespace Name Mixin selector
      named field_58730 Lnet/minecraft/class_11032;field_58730:Lnet/minecraft/util/math/intprovider/UniformIntProvider;
      intermediary field_58730 Lnet/minecraft/class_11032;field_58730:Lnet/minecraft/class_6019;
      official cd Lcua;cd:Lbvm;
    • field_58724

      private float field_58724
      Mappings:
      Namespace Name Mixin selector
      named field_58724 Lnet/minecraft/class_11032;field_58724:F
      intermediary field_58724 Lnet/minecraft/class_11032;field_58724:F
      official bX Lcua;bX:F
    • field_58725

      private float field_58725
      Mappings:
      Namespace Name Mixin selector
      named field_58725 Lnet/minecraft/class_11032;field_58725:F
      intermediary field_58725 Lnet/minecraft/class_11032;field_58725:F
      official bY Lcua;bY:F
    • field_58726

      private boolean field_58726
      Mappings:
      Namespace Name Mixin selector
      named field_58726 Lnet/minecraft/class_11032;field_58726:Z
      intermediary field_58726 Lnet/minecraft/class_11032;field_58726:Z
      official bZ Lcua;bZ:Z
    • field_58727

      private boolean field_58727
      Mappings:
      Namespace Name Mixin selector
      named field_58727 Lnet/minecraft/class_11032;field_58727:Z
      intermediary field_58727 Lnet/minecraft/class_11032;field_58727:Z
      official ca Lcua;ca:Z
    • field_58728

      private float field_58728
      Mappings:
      Namespace Name Mixin selector
      named field_58728 Lnet/minecraft/class_11032;field_58728:F
      intermediary field_58728 Lnet/minecraft/class_11032;field_58728:F
      official cb Lcua;cb:F
    • field_58729

      private float field_58729
      Mappings:
      Namespace Name Mixin selector
      named field_58729 Lnet/minecraft/class_11032;field_58729:F
      intermediary field_58729 Lnet/minecraft/class_11032;field_58729:F
      official cc Lcua;cc:F
    • field_58731

      @Nullable private @Nullable UUID field_58731
      Mappings:
      Namespace Name Mixin selector
      named field_58731 Lnet/minecraft/class_11032;field_58731:Ljava/util/UUID;
      intermediary field_58731 Lnet/minecraft/class_11032;field_58731:Ljava/util/UUID;
      official ce Lcua;ce:Ljava/util/UUID;
  • Constructor Details

    • class_11032

      public class_11032(EntityType<? extends class_11032> 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> Lbye;<init>(Lbyn;Ldmy;)V
  • Method Details

    • initGoals

      protected void initGoals()
      Overrides:
      initGoals in class class_10995
      Mappings:
      Namespace Name Mixin selector
      named initGoals Lnet/minecraft/entity/mob/MobEntity;initGoals()V
      intermediary method_5959 Lnet/minecraft/class_1308;method_5959()V
      official C Lbzh;C()V
    • method_69434

      public Identifier method_69434()
      Mappings:
      Namespace Name Mixin selector
      named method_69434 Lnet/minecraft/class_11032;method_69434()Lnet/minecraft/util/Identifier;
      intermediary method_69434 Lnet/minecraft/class_11032;method_69434()Lnet/minecraft/class_2960;
      official gH Lcua;gH()Lamb;
    • method_69438

      private RegistryEntry<WolfVariant> method_69438()
      Mappings:
      Namespace Name Mixin selector
      named method_69438 Lnet/minecraft/class_11032;method_69438()Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary method_69438 Lnet/minecraft/class_11032;method_69438()Lnet/minecraft/class_6880;
      official gL Lcua;gL()Ljh;
    • method_69429

      private void method_69429(RegistryEntry<WolfVariant> registryEntry)
      Mappings:
      Namespace Name Mixin selector
      named method_69429 Lnet/minecraft/class_11032;method_69429(Lnet/minecraft/registry/entry/RegistryEntry;)V
      intermediary method_69429 Lnet/minecraft/class_11032;method_69429(Lnet/minecraft/class_6880;)V
      official a Lcua;a(Ljh;)V
    • method_69439

      private RegistryEntry<WolfSoundVariant> method_69439()
      Mappings:
      Namespace Name Mixin selector
      named method_69439 Lnet/minecraft/class_11032;method_69439()Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary method_69439 Lnet/minecraft/class_11032;method_69439()Lnet/minecraft/class_6880;
      official gM Lcua;gM()Ljh;
    • method_69432

      private void method_69432(RegistryEntry<WolfSoundVariant> registryEntry)
      Mappings:
      Namespace Name Mixin selector
      named method_69432 Lnet/minecraft/class_11032;method_69432(Lnet/minecraft/registry/entry/RegistryEntry;)V
      intermediary method_69432 Lnet/minecraft/class_11032;method_69432(Lnet/minecraft/class_6880;)V
      official b Lcua;b(Ljh;)V
    • get

      @Nullable public <T> T get(ComponentType<? extends T> type)
      Specified by:
      get in interface ComponentsAccess
      Overrides:
      get in class Entity
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/component/ComponentsAccess;get(Lnet/minecraft/component/ComponentType;)Ljava/lang/Object;
      intermediary method_58694 Lnet/minecraft/class_9473;method_58694(Lnet/minecraft/class_9331;)Ljava/lang/Object;
      official a Lkh;a(Lkl;)Ljava/lang/Object;
    • copyComponentsFrom

      protected void copyComponentsFrom(ComponentsAccess from)
      Overrides:
      copyComponentsFrom in class Entity
      Mappings:
      Namespace Name Mixin selector
      named copyComponentsFrom Lnet/minecraft/entity/Entity;copyComponentsFrom(Lnet/minecraft/component/ComponentsAccess;)V
      intermediary method_66649 Lnet/minecraft/class_1297;method_66649(Lnet/minecraft/class_9473;)V
      official a Lbye;a(Lkh;)V
    • setApplicableComponent

      protected <T> boolean setApplicableComponent(ComponentType<T> type, T value)
      Overrides:
      setApplicableComponent in class Entity
      Mappings:
      Namespace Name Mixin selector
      named setApplicableComponent Lnet/minecraft/entity/Entity;setApplicableComponent(Lnet/minecraft/component/ComponentType;Ljava/lang/Object;)Z
      intermediary method_66654 Lnet/minecraft/class_1297;method_66654(Lnet/minecraft/class_9331;Ljava/lang/Object;)Z
      official b Lbye;b(Lkl;Ljava/lang/Object;)Z
    • method_69435

      public static DefaultAttributeContainer.Builder method_69435()
      Mappings:
      Namespace Name Mixin selector
      named method_69435 Lnet/minecraft/class_11032;method_69435()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
      intermediary method_69435 Lnet/minecraft/class_11032;method_69435()Lnet/minecraft/class_5132$class_5133;
      official gI Lcua;gI()Lcak$a;
    • initDataTracker

      protected void initDataTracker(DataTracker.Builder builder)
      Initializes data tracker.
      Overrides:
      initDataTracker in class TameableEntity
      API Note:
      Subclasses should override this and add to the builder any data that needs to be tracked.
      Mappings:
      Namespace Name Mixin selector
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)V
      official a Lbye;a(Lali$a;)V
    • playStepSound

      protected void playStepSound(BlockPos pos, BlockState state)
      Overrides:
      playStepSound in class Entity
      Mappings:
      Namespace Name Mixin selector
      named playStepSound Lnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
      intermediary method_5712 Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      official b Lbye;b(Lix;Lees;)V
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Writes custom data to nbt. Subclasses have to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      Overrides:
      writeCustomDataToNbt in class TameableEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      official b Lbye;b(Luc;)V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Reads custom data from nbt. Subclasses have to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      nbt might not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.

      Overrides:
      readCustomDataFromNbt in class TameableEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      official a Lbye;a(Luc;)V
    • initialize

      public EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData)
      Overrides:
      initialize in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      named initialize Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;)Lnet/minecraft/entity/EntityData;
      intermediary method_5943 Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;)Lnet/minecraft/class_1315;
      official a Lbzh;a(Ldnp;Lbvz;Lbym;Lbzx;)Lbzx;
    • getAmbientSound

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_5994 Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
      official r Lbzh;r()Laxv;
    • getSoundVolume

      protected float getSoundVolume()
      Overrides:
      getSoundVolume in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getSoundVolume Lnet/minecraft/entity/LivingEntity;getSoundVolume()F
      intermediary method_6107 Lnet/minecraft/class_1309;method_6107()F
      official fj Lbzf;fj()F
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
      intermediary method_6007 Lnet/minecraft/class_1309;method_6007()V
      official j_ Lbzf;j_()V
    • 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 i Lbye;i()V
    • method_69440

      private void method_69440()
      Mappings:
      Namespace Name Mixin selector
      named method_69440 Lnet/minecraft/class_11032;method_69440()V
      intermediary method_69440 Lnet/minecraft/class_11032;method_69440()V
      official gN Lcua;gN()V
    • method_69424

      public float method_69424(float float2)
      Mappings:
      Namespace Name Mixin selector
      named method_69424 Lnet/minecraft/class_11032;method_69424(F)F
      intermediary method_69424 Lnet/minecraft/class_11032;method_69424(F)F
      official J Lcua;J(F)F
    • method_69425

      public float method_69425(float float2)
      Mappings:
      Namespace Name Mixin selector
      named method_69425 Lnet/minecraft/class_11032;method_69425(F)F
      intermediary method_69425 Lnet/minecraft/class_11032;method_69425(F)F
      official K Lcua;K(F)F
    • method_69426

      public float method_69426(float float2)
      Mappings:
      Namespace Name Mixin selector
      named method_69426 Lnet/minecraft/class_11032;method_69426(F)F
      intermediary method_69426 Lnet/minecraft/class_11032;method_69426(F)F
      official L Lcua;L(F)F
    • getMaxLookPitchChange

      public int getMaxLookPitchChange()
      Returns the maximum degrees which the pitch can change when looking.

      This is used by the look control.

      It can return from 1 for entities that can hardly raise their head, like axolotls or dolphins, or 180 for entities that can freely raise and lower their head, like guardians. The default return value is 40.

      Overrides:
      getMaxLookPitchChange in class MobEntity
      Returns:
      the maximum degrees which the pitch can change when looking
      Mappings:
      Namespace Name Mixin selector
      named getMaxLookPitchChange Lnet/minecraft/entity/mob/MobEntity;getMaxLookPitchChange()I
      intermediary method_5978 Lnet/minecraft/class_1308;method_5978()I
      official ab Lbzh;ab()I
    • method_69441

      private boolean method_69441(DamageSource damageSource)
      Mappings:
      Namespace Name Mixin selector
      named method_69441 Lnet/minecraft/class_11032;method_69441(Lnet/minecraft/entity/damage/DamageSource;)Z
      intermediary method_69441 Lnet/minecraft/class_11032;method_69441(Lnet/minecraft/class_1282;)Z
      official i Lcua;i(Lbwt;)Z
    • handleStatus

      public void handleStatus(byte status)
      Called on the client when the entity receives an entity status from the server. They are often used to spawn particles or play sounds. Subclasses can override this method to handle custom entity status.
      Overrides:
      handleStatus in class TameableEntity
      See Also:
      API Note:
      To send an entity status, use World.sendEntityStatus(net.minecraft.entity.Entity, byte).
      Mappings:
      Namespace Name Mixin selector
      named handleStatus Lnet/minecraft/entity/Entity;handleStatus(B)V
      intermediary method_5711 Lnet/minecraft/class_1297;method_5711(B)V
      official b Lbye;b(B)V
    • isBreedingItem

      public boolean isBreedingItem(ItemStack stack)
      Overrides:
      isBreedingItem in class class_10995
      Mappings:
      Namespace Name Mixin selector
      named isBreedingItem Lnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
      intermediary method_6481 Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Z
      official i Lclc;i(Ldcs;)Z
    • getLimitPerChunk

      public int getLimitPerChunk()
      Overrides:
      getLimitPerChunk in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named getLimitPerChunk Lnet/minecraft/entity/mob/MobEntity;getLimitPerChunk()I
      intermediary method_5945 Lnet/minecraft/class_1308;method_5945()I
      official af Lbzh;af()I
    • getAngerTime

      public int getAngerTime()
      Specified by:
      getAngerTime in interface Angerable
      Mappings:
      Namespace Name Mixin selector
      named getAngerTime Lnet/minecraft/entity/mob/Angerable;getAngerTime()I
      intermediary method_29507 Lnet/minecraft/class_5354;method_29507()I
      official a Lbzk;a()I
    • setAngerTime

      public void setAngerTime(int angerTime)
      Specified by:
      setAngerTime in interface Angerable
      Mappings:
      Namespace Name Mixin selector
      named setAngerTime Lnet/minecraft/entity/mob/Angerable;setAngerTime(I)V
      intermediary method_29514 Lnet/minecraft/class_5354;method_29514(I)V
      official a Lbzk;a(I)V
    • chooseRandomAngerTime

      public void chooseRandomAngerTime()
      Specified by:
      chooseRandomAngerTime in interface Angerable
      Mappings:
      Namespace Name Mixin selector
      named chooseRandomAngerTime Lnet/minecraft/entity/mob/Angerable;chooseRandomAngerTime()V
      intermediary method_29509 Lnet/minecraft/class_5354;method_29509()V
      official c Lbzk;c()V
    • getAngryAt

      @Nullable public @Nullable UUID getAngryAt()
      Specified by:
      getAngryAt in interface Angerable
      Mappings:
      Namespace Name Mixin selector
      named getAngryAt Lnet/minecraft/entity/mob/Angerable;getAngryAt()Ljava/util/UUID;
      intermediary method_29508 Lnet/minecraft/class_5354;method_29508()Ljava/util/UUID;
      official b Lbzk;b()Ljava/util/UUID;
    • setAngryAt

      public void setAngryAt(@Nullable @Nullable UUID angryAt)
      Specified by:
      setAngryAt in interface Angerable
      Mappings:
      Namespace Name Mixin selector
      named setAngryAt Lnet/minecraft/entity/mob/Angerable;setAngryAt(Ljava/util/UUID;)V
      intermediary method_29513 Lnet/minecraft/class_5354;method_29513(Ljava/util/UUID;)V
      official a Lbzk;a(Ljava/util/UUID;)V
    • method_69436

      public DyeColor method_69436()
      Mappings:
      Namespace Name Mixin selector
      named method_69436 Lnet/minecraft/class_11032;method_69436()Lnet/minecraft/util/DyeColor;
      intermediary method_69436 Lnet/minecraft/class_11032;method_69436()Lnet/minecraft/class_1767;
      official gJ Lcua;gJ()Ldbo;
    • method_69428

      private void method_69428(DyeColor dyeColor)
      Mappings:
      Namespace Name Mixin selector
      named method_69428 Lnet/minecraft/class_11032;method_69428(Lnet/minecraft/util/DyeColor;)V
      intermediary method_69428 Lnet/minecraft/class_11032;method_69428(Lnet/minecraft/class_1767;)V
      official a Lcua;a(Ldbo;)V
    • createChild

      @Nullable public @Nullable WolfEntity createChild(ServerWorld serverWorld, PassiveEntity passiveEntity)
      Overrides:
      createChild in class class_10995
      Mappings:
      Namespace Name Mixin selector
      named createChild Lnet/minecraft/class_11032;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/WolfEntity;
      intermediary method_69431 Lnet/minecraft/class_11032;method_69431(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1493;
      official b Lcua;b(Last;Lbxu;)Lcoe;
    • method_69442

      public void method_69442(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      named method_69442 Lnet/minecraft/class_11032;method_69442(Z)V
      intermediary method_69442 Lnet/minecraft/class_11032;method_69442(Z)V
      official z Lcua;z(Z)V
    • canBreedWith

      public boolean canBreedWith(AnimalEntity other)
      Overrides:
      canBreedWith in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      named canBreedWith Lnet/minecraft/entity/passive/AnimalEntity;canBreedWith(Lnet/minecraft/entity/passive/AnimalEntity;)Z
      intermediary method_6474 Lnet/minecraft/class_1429;method_6474(Lnet/minecraft/class_1429;)Z
      official a Lclc;a(Lclc;)Z
    • method_69437

      public boolean method_69437()
      Mappings:
      Namespace Name Mixin selector
      named method_69437 Lnet/minecraft/class_11032;method_69437()Z
      intermediary method_69437 Lnet/minecraft/class_11032;method_69437()Z
      official gK Lcua;gK()Z
    • canAttackWithOwner

      public boolean canAttackWithOwner(LivingEntity target, LivingEntity owner)
      Overrides:
      canAttackWithOwner in class TameableEntity
      Mappings:
      Namespace Name Mixin selector
      named canAttackWithOwner Lnet/minecraft/entity/passive/TameableEntity;canAttackWithOwner(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;)Z
      intermediary method_6178 Lnet/minecraft/class_1321;method_6178(Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Z
      official a Lcab;a(Lbzf;Lbzf;)Z
    • canBeLeashed

      public boolean canBeLeashed()
      Specified by:
      canBeLeashed in interface Leashable
      Overrides:
      canBeLeashed in class TameableEntity
      Mappings:
      Namespace Name Mixin selector
      named canBeLeashed Lnet/minecraft/entity/Leashable;canBeLeashed()Z
      intermediary method_5931 Lnet/minecraft/class_9817;method_5931()Z
      official p Lbzd;p()Z
    • getLeashOffset

      public Vec3d getLeashOffset()
      Returns the offset from the entity's position where the leash is attached to.

      This is different from Entity.getLeashPos(float); this method is called on the entity which a leash is attached to.

      Overrides:
      getLeashOffset in class Entity
      Returns:
      the offset from the entity's position where the leash is attached to
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named getLeashOffset Lnet/minecraft/entity/Entity;getLeashOffset()Lnet/minecraft/util/math/Vec3d;
      intermediary method_29919 Lnet/minecraft/class_1297;method_29919()Lnet/minecraft/class_243;
      official cZ Lbye;cZ()Lfkb;
    • method_69433

      public static boolean method_69433(EntityType<WolfEntity> entityType, WorldAccess worldAccess, SpawnReason spawnReason, BlockPos blockPos, Random random)
      Mappings:
      Namespace Name Mixin selector
      named method_69433 Lnet/minecraft/class_11032;method_69433(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Z
      intermediary method_69433 Lnet/minecraft/class_11032;method_69433(Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Z
      official c Lcua;c(Lbyn;Ldmz;Lbym;Lix;Lbbg;)Z