Class WolfEntity

All Implemented Interfaces:
CommandSource, EntityCategoryProvider, Tameable

public class WolfEntity extends TameableEntity
Mappings:
Namespace Name
official xk
intermediary net/minecraft/class_954
named net/minecraft/entity/passive/WolfEntity
  • Field Details

    • field_14625

      private static final TrackedData<Float> field_14625
      Mappings:
      Namespace Name Mixin selector
      official bA Lxk;bA:Lkk;
      intermediary field_14625 Lnet/minecraft/class_954;field_14625:Lnet/minecraft/class_2921;
      named field_14625 Lnet/minecraft/entity/passive/WolfEntity;field_14625:Lnet/minecraft/entity/data/TrackedData;
    • field_14626

      private static final TrackedData<Boolean> field_14626
      Mappings:
      Namespace Name Mixin selector
      official bB Lxk;bB:Lkk;
      intermediary field_14626 Lnet/minecraft/class_954;field_14626:Lnet/minecraft/class_2921;
      named field_14626 Lnet/minecraft/entity/passive/WolfEntity;field_14626:Lnet/minecraft/entity/data/TrackedData;
    • field_14627

      private static final TrackedData<Integer> field_14627
      Mappings:
      Namespace Name Mixin selector
      official bC Lxk;bC:Lkk;
      intermediary field_14627 Lnet/minecraft/class_954;field_14627:Lnet/minecraft/class_2921;
      named field_14627 Lnet/minecraft/entity/passive/WolfEntity;field_14627:Lnet/minecraft/entity/data/TrackedData;
    • field_3727

      private float field_3727
      Mappings:
      Namespace Name Mixin selector
      official bD Lxk;bD:F
      intermediary field_3727 Lnet/minecraft/class_954;field_3727:F
      named field_3727 Lnet/minecraft/entity/passive/WolfEntity;field_3727:F
    • field_3728

      private float field_3728
      Mappings:
      Namespace Name Mixin selector
      official bE Lxk;bE:F
      intermediary field_3728 Lnet/minecraft/class_954;field_3728:F
      named field_3728 Lnet/minecraft/entity/passive/WolfEntity;field_3728:F
    • field_3729

      private boolean field_3729
      Mappings:
      Namespace Name Mixin selector
      official bF Lxk;bF:Z
      intermediary field_3729 Lnet/minecraft/class_954;field_3729:Z
      named field_3729 Lnet/minecraft/entity/passive/WolfEntity;field_3729:Z
    • field_3730

      private boolean field_3730
      Mappings:
      Namespace Name Mixin selector
      official bG Lxk;bG:Z
      intermediary field_3730 Lnet/minecraft/class_954;field_3730:Z
      named field_3730 Lnet/minecraft/entity/passive/WolfEntity;field_3730:Z
    • field_3731

      private float field_3731
      Mappings:
      Namespace Name Mixin selector
      official bH Lxk;bH:F
      intermediary field_3731 Lnet/minecraft/class_954;field_3731:F
      named field_3731 Lnet/minecraft/entity/passive/WolfEntity;field_3731:F
    • field_3732

      private float field_3732
      Mappings:
      Namespace Name Mixin selector
      official bI Lxk;bI:F
      intermediary field_3732 Lnet/minecraft/class_954;field_3732:F
      named field_3732 Lnet/minecraft/entity/passive/WolfEntity;field_3732:F
  • Constructor Details

    • WolfEntity

      public WolfEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsn;<init>(Lajs;)V
      intermediary <init> Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
  • Method Details

    • initGoals

      protected void initGoals()
      Overrides:
      initGoals in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official r Lsx;r()V
      intermediary method_13087 Lnet/minecraft/class_871;method_13087()V
      named initGoals Lnet/minecraft/entity/mob/MobEntity;initGoals()V
    • initializeAttributes

      protected void initializeAttributes()
      Overrides:
      initializeAttributes in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official bE Lsw;bE()V
      intermediary method_6129 Lnet/minecraft/class_1699;method_6129()V
      named initializeAttributes Lnet/minecraft/entity/LivingEntity;initializeAttributes()V
    • setTarget

      public void setTarget(@Nullable LivingEntity target)
      Overrides:
      setTarget in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official d Lsx;d(Lsw;)V
      intermediary method_6165 Lnet/minecraft/class_871;method_6165(Lnet/minecraft/class_1699;)V
      named setTarget Lnet/minecraft/entity/mob/MobEntity;setTarget(Lnet/minecraft/entity/LivingEntity;)V
    • mobTick

      protected void mobTick()
      Overrides:
      mobTick in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official M Lsx;M()V
      intermediary method_2633 Lnet/minecraft/class_871;method_2633()V
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick()V
    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class TameableEntity
      Mappings:
      Namespace Name Mixin selector
      official i Lsn;i()V
      intermediary method_2484 Lnet/minecraft/class_864;method_2484()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • playStepSound

      protected void playStepSound(BlockPos pos, Block block)
      Overrides:
      playStepSound in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lsn;a(Lco;Lalu;)V
      intermediary method_10936 Lnet/minecraft/class_864;method_10936(Lnet/minecraft/class_2552;Lnet/minecraft/class_197;)V
      named playStepSound Lnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
    • method_13514

      public static void method_13514(class_2934 class_2934)
      Mappings:
      Namespace Name Mixin selector
      official a Lxk;a(Lph;)V
      intermediary method_13514 Lnet/minecraft/class_954;method_13514(Lnet/minecraft/class_2934;)V
      named method_13514 Lnet/minecraft/entity/passive/WolfEntity;method_13514(Lnet/minecraft/class_2934;)V
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class TameableEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lsn;b(Ldu;)V
      intermediary method_2528 Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Overrides:
      readCustomDataFromNbt in class TameableEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lsn;a(Ldu;)V
      intermediary method_2498 Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • ambientSound

      protected SoundEvent ambientSound()
      Overrides:
      ambientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official G Lsx;G()Lnm;
      intermediary method_2603 Lnet/minecraft/class_871;method_2603()Lnet/minecraft/class_2926;
      named ambientSound Lnet/minecraft/entity/mob/MobEntity;ambientSound()Lnet/minecraft/client/sound/SoundEvent;
    • method_13048

      protected SoundEvent method_13048()
      Overrides:
      method_13048 in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bW Lsw;bW()Lnm;
      intermediary method_13048 Lnet/minecraft/class_1699;method_13048()Lnet/minecraft/class_2926;
      named method_13048 Lnet/minecraft/entity/LivingEntity;method_13048()Lnet/minecraft/client/sound/SoundEvent;
    • deathSound

      protected SoundEvent deathSound()
      Overrides:
      deathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bX Lsw;bX()Lnm;
      intermediary method_13049 Lnet/minecraft/class_1699;method_13049()Lnet/minecraft/class_2926;
      named deathSound Lnet/minecraft/entity/LivingEntity;deathSound()Lnet/minecraft/client/sound/SoundEvent;
    • getSoundVolume

      protected float getSoundVolume()
      Overrides:
      getSoundVolume in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official ci Lsw;ci()F
      intermediary method_2602 Lnet/minecraft/class_1699;method_2602()F
      named getSoundVolume Lnet/minecraft/entity/LivingEntity;getSoundVolume()F
    • getLootTableId

      @Nullable protected Identifier getLootTableId()
      Overrides:
      getLootTableId in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official J Lsx;J()Lkq;
      intermediary method_13074 Lnet/minecraft/class_871;method_13074()Lnet/minecraft/class_1653;
      named getLootTableId Lnet/minecraft/entity/mob/MobEntity;getLootTableId()Lnet/minecraft/util/Identifier;
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official n Lsw;n()V
      intermediary method_2651 Lnet/minecraft/class_1699;method_2651()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • tick

      public void tick()
      Overrides:
      tick in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official A_ Lsn;A_()V
      intermediary method_2558 Lnet/minecraft/class_864;method_2558()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • method_2881

      @Environment(CLIENT) public boolean method_2881()
      Mappings:
      Namespace Name Mixin selector
      official dp Lxk;dp()Z
      intermediary method_2881 Lnet/minecraft/class_954;method_2881()Z
      named method_2881 Lnet/minecraft/entity/passive/WolfEntity;method_2881()Z
    • method_2879

      @Environment(CLIENT) public float method_2879(float float2)
      Mappings:
      Namespace Name Mixin selector
      official r Lxk;r(F)F
      intermediary method_2879 Lnet/minecraft/class_954;method_2879(F)F
      named method_2879 Lnet/minecraft/entity/passive/WolfEntity;method_2879(F)F
    • method_2876

      @Environment(CLIENT) public float method_2876(float float2, float float3)
      Mappings:
      Namespace Name Mixin selector
      official i Lxk;i(FF)F
      intermediary method_2876 Lnet/minecraft/class_954;method_2876(FF)F
      named method_2876 Lnet/minecraft/entity/passive/WolfEntity;method_2876(FF)F
    • method_2880

      @Environment(CLIENT) public float method_2880(float float2)
      Mappings:
      Namespace Name Mixin selector
      official s Lxk;s(F)F
      intermediary method_2880 Lnet/minecraft/class_954;method_2880(F)F
      named method_2880 Lnet/minecraft/entity/passive/WolfEntity;method_2880(F)F
    • getEyeHeight

      public float getEyeHeight()
      Overrides:
      getEyeHeight in class Entity
      Mappings:
      Namespace Name Mixin selector
      official bq Lsn;bq()F
      intermediary method_2544 Lnet/minecraft/class_864;method_2544()F
      named getEyeHeight Lnet/minecraft/entity/Entity;getEyeHeight()F
    • getLookPitchSpeed

      public int getLookPitchSpeed()
      Overrides:
      getLookPitchSpeed in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official N Lsx;N()I
      intermediary method_2636 Lnet/minecraft/class_871;method_2636()I
      named getLookPitchSpeed Lnet/minecraft/entity/mob/MobEntity;getLookPitchSpeed()I
    • damage

      public boolean damage(DamageSource source, float amount)
      Overrides:
      damage in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lsn;a(Lry;F)Z
      intermediary method_2499 Lnet/minecraft/class_864;method_2499(Lnet/minecraft/class_856;F)Z
      named damage Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
    • tryAttack

      public boolean tryAttack(Entity target)
      Overrides:
      tryAttack in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official B Lsw;B(Lsn;)Z
      intermediary method_2671 Lnet/minecraft/class_1699;method_2671(Lnet/minecraft/class_864;)Z
      named tryAttack Lnet/minecraft/entity/LivingEntity;tryAttack(Lnet/minecraft/entity/Entity;)Z
    • setTamed

      public void setTamed(boolean tamed)
      Overrides:
      setTamed in class TameableEntity
      Mappings:
      Namespace Name Mixin selector
      official q Lti;q(Z)V
      intermediary method_2715 Lnet/minecraft/class_880;method_2715(Z)V
      named setTamed Lnet/minecraft/entity/passive/TameableEntity;setTamed(Z)V
    • interactMob

      public boolean interactMob(PlayerEntity playerEntity, Hand hand)
      Overrides:
      interactMob in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lsx;a(Laay;Lri;)Z
      intermediary method_13079 Lnet/minecraft/class_871;method_13079(Lnet/minecraft/class_988;Lnet/minecraft/class_2961;)Z
      named interactMob Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Z
    • handleStatus

      @Environment(CLIENT) public void handleStatus(byte status)
      Overrides:
      handleStatus in class TameableEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lsn;a(B)V
      intermediary method_2485 Lnet/minecraft/class_864;method_2485(B)V
      named handleStatus Lnet/minecraft/entity/Entity;handleStatus(B)V
    • method_2882

      @Environment(CLIENT) public float method_2882()
      Mappings:
      Namespace Name Mixin selector
      official dq Lxk;dq()F
      intermediary method_2882 Lnet/minecraft/class_954;method_2882()F
      named method_2882 Lnet/minecraft/entity/passive/WolfEntity;method_2882()F
    • isBreedingItem

      public boolean isBreedingItem(ItemStack stack)
      Overrides:
      isBreedingItem in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official e Lww;e(Lafj;)Z
      intermediary method_2853 Lnet/minecraft/class_942;method_2853(Lnet/minecraft/class_1071;)Z
      named isBreedingItem Lnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
    • getLimitPerChunk

      public int getLimitPerChunk()
      Overrides:
      getLimitPerChunk in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official cQ Lsx;cQ()I
      intermediary method_2639 Lnet/minecraft/class_871;method_2639()I
      named getLimitPerChunk Lnet/minecraft/entity/mob/MobEntity;getLimitPerChunk()I
    • isAngry

      public boolean isAngry()
      Mappings:
      Namespace Name Mixin selector
      official dr Lxk;dr()Z
      intermediary method_2874 Lnet/minecraft/class_954;method_2874()Z
      named isAngry Lnet/minecraft/entity/passive/WolfEntity;isAngry()Z
    • updateAnger

      public void updateAnger(boolean angry)
      Mappings:
      Namespace Name Mixin selector
      official s Lxk;s(Z)V
      intermediary method_2877 Lnet/minecraft/class_954;method_2877(Z)V
      named updateAnger Lnet/minecraft/entity/passive/WolfEntity;updateAnger(Z)V
    • getCollarColor

      public DyeColor getCollarColor()
      Mappings:
      Namespace Name Mixin selector
      official ds Lxk;ds()Laem;
      intermediary method_11111 Lnet/minecraft/class_954;method_11111()Lnet/minecraft/class_2674;
      named getCollarColor Lnet/minecraft/entity/passive/WolfEntity;getCollarColor()Lnet/minecraft/util/DyeColor;
    • setCollarColor

      public void setCollarColor(DyeColor color)
      Mappings:
      Namespace Name Mixin selector
      official a Lxk;a(Laem;)V
      intermediary method_11110 Lnet/minecraft/class_954;method_11110(Lnet/minecraft/class_2674;)V
      named setCollarColor Lnet/minecraft/entity/passive/WolfEntity;setCollarColor(Lnet/minecraft/util/DyeColor;)V
    • breed

      public WolfEntity breed(PassiveEntity passiveEntity)
      Specified by:
      breed in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lxk;b(Lsk;)Lxk;
      intermediary method_4527 Lnet/minecraft/class_954;method_4527(Lnet/minecraft/class_862;)Lnet/minecraft/class_954;
      named breed Lnet/minecraft/entity/passive/WolfEntity;breed(Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/WolfEntity;
    • setBegging

      public void setBegging(boolean begging)
      Mappings:
      Namespace Name Mixin selector
      official t Lxk;t(Z)V
      intermediary method_2878 Lnet/minecraft/class_954;method_2878(Z)V
      named setBegging Lnet/minecraft/entity/passive/WolfEntity;setBegging(Z)V
    • canBreedWith

      public boolean canBreedWith(AnimalEntity other)
      Overrides:
      canBreedWith in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lww;a(Lww;)Z
      intermediary method_2852 Lnet/minecraft/class_942;method_2852(Lnet/minecraft/class_942;)Z
      named canBreedWith Lnet/minecraft/entity/passive/AnimalEntity;canBreedWith(Lnet/minecraft/entity/passive/AnimalEntity;)Z
    • method_2875

      public boolean method_2875()
      Mappings:
      Namespace Name Mixin selector
      official dt Lxk;dt()Z
      intermediary method_2875 Lnet/minecraft/class_954;method_2875()Z
      named method_2875 Lnet/minecraft/entity/passive/WolfEntity;method_2875()Z
    • canAttackWithOwner

      public boolean canAttackWithOwner(LivingEntity target, LivingEntity owner)
      Overrides:
      canAttackWithOwner in class TameableEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lti;a(Lsw;Lsw;)Z
      intermediary method_6182 Lnet/minecraft/class_880;method_6182(Lnet/minecraft/class_1699;Lnet/minecraft/class_1699;)Z
      named canAttackWithOwner Lnet/minecraft/entity/passive/TameableEntity;canAttackWithOwner(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;)Z
    • canBeLeashedBy

      public boolean canBeLeashedBy(PlayerEntity player)
      Overrides:
      canBeLeashedBy in class TameableEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lsx;a(Laay;)Z
      intermediary method_2537 Lnet/minecraft/class_871;method_2537(Lnet/minecraft/class_988;)Z
      named canBeLeashedBy Lnet/minecraft/entity/mob/MobEntity;canBeLeashedBy(Lnet/minecraft/entity/player/PlayerEntity;)Z