Class ZombieVillagerEntity

All Implemented Interfaces:
Monster, CommandOutput, Nameable, VillagerDataContainer, EntityLike

public class ZombieVillagerEntity extends ZombieEntity implements VillagerDataContainer
Mappings:
Namespace Name
official bmf
intermediary net/minecraft/class_1641
named net/minecraft/entity/mob/ZombieVillagerEntity
  • Field Details

    • CONVERTING

      private static final TrackedData<Boolean> CONVERTING
      Mappings:
      Namespace Name Mixin selector
      official b Lbmf;b:Lxp;
      intermediary field_7423 Lnet/minecraft/class_1641;field_7423:Lnet/minecraft/class_2940;
      named CONVERTING Lnet/minecraft/entity/mob/ZombieVillagerEntity;CONVERTING:Lnet/minecraft/entity/data/TrackedData;
    • VILLAGER_DATA

      private static final TrackedData<VillagerData> VILLAGER_DATA
      Mappings:
      Namespace Name Mixin selector
      official c Lbmf;c:Lxp;
      intermediary field_7420 Lnet/minecraft/class_1641;field_7420:Lnet/minecraft/class_2940;
      named VILLAGER_DATA Lnet/minecraft/entity/mob/ZombieVillagerEntity;VILLAGER_DATA:Lnet/minecraft/entity/data/TrackedData;
    • field_30523

      private static final int field_30523
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lbmf;d:I
      intermediary field_30523 Lnet/minecraft/class_1641;field_30523:I
      named field_30523 Lnet/minecraft/entity/mob/ZombieVillagerEntity;field_30523:I
    • field_30520

      private static final int field_30520
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bZ Lbmf;bZ:I
      intermediary field_30520 Lnet/minecraft/class_1641;field_30520:I
      named field_30520 Lnet/minecraft/entity/mob/ZombieVillagerEntity;field_30520:I
    • field_30521

      private static final int field_30521
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ca Lbmf;ca:I
      intermediary field_30521 Lnet/minecraft/class_1641;field_30521:I
      named field_30521 Lnet/minecraft/entity/mob/ZombieVillagerEntity;field_30521:I
    • field_30522

      private static final int field_30522
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cb Lbmf;cb:I
      intermediary field_30522 Lnet/minecraft/class_1641;field_30522:I
      named field_30522 Lnet/minecraft/entity/mob/ZombieVillagerEntity;field_30522:I
    • conversionTimer

      private int conversionTimer
      Mappings:
      Namespace Name Mixin selector
      official cc Lbmf;cc:I
      intermediary field_7422 Lnet/minecraft/class_1641;field_7422:I
      named conversionTimer Lnet/minecraft/entity/mob/ZombieVillagerEntity;conversionTimer:I
    • converter

      @Nullable private @Nullable UUID converter
      Mappings:
      Namespace Name Mixin selector
      official cd Lbmf;cd:Ljava/util/UUID;
      intermediary field_7421 Lnet/minecraft/class_1641;field_7421:Ljava/util/UUID;
      named converter Lnet/minecraft/entity/mob/ZombieVillagerEntity;converter:Ljava/util/UUID;
    • gossipData

      @Nullable private @Nullable NbtElement gossipData
      Mappings:
      Namespace Name Mixin selector
      official ce Lbmf;ce:Lov;
      intermediary field_20299 Lnet/minecraft/class_1641;field_20299:Lnet/minecraft/class_2520;
      named gossipData Lnet/minecraft/entity/mob/ZombieVillagerEntity;gossipData:Lnet/minecraft/nbt/NbtElement;
    • offerData

      @Nullable private @Nullable NbtCompound offerData
      Mappings:
      Namespace Name Mixin selector
      official cf Lbmf;cf:Loc;
      intermediary field_17047 Lnet/minecraft/class_1641;field_17047:Lnet/minecraft/class_2487;
      named offerData Lnet/minecraft/entity/mob/ZombieVillagerEntity;offerData:Lnet/minecraft/nbt/NbtCompound;
    • xp

      private int xp
      Mappings:
      Namespace Name Mixin selector
      official cg Lbmf;cg:I
      intermediary field_18877 Lnet/minecraft/class_1641;field_18877:I
      named xp Lnet/minecraft/entity/mob/ZombieVillagerEntity;xp:I
  • Constructor Details

    • ZombieVillagerEntity

      public ZombieVillagerEntity(EntityType<? extends ZombieVillagerEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lawt;<init>(Lawx;Lcad;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
  • Method Details

    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      official a_ Lawt;a_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lawt;b(Loc;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Overrides:
      readCustomDataFromNbt in class ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lawt;a(Loc;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • tick

      public void tick()
      Overrides:
      tick in class ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      official k Lawt;k()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • interactMob

      public ActionResult interactMob(PlayerEntity player, Hand hand)
      Overrides:
      interactMob in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Laxj;b(Lbnr;Lavp;)Lavq;
      intermediary method_5992 Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
      named interactMob Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
    • canConvertInWater

      protected boolean canConvertInWater()
      Overrides:
      canConvertInWater in class ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      official fz Lbme;fz()Z
      intermediary method_7209 Lnet/minecraft/class_1642;method_7209()Z
      named canConvertInWater Lnet/minecraft/entity/mob/ZombieEntity;canConvertInWater()Z
    • canImmediatelyDespawn

      public boolean canImmediatelyDespawn(double distanceSquared)
      Overrides:
      canImmediatelyDespawn in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official h Laxj;h(D)Z
      intermediary method_5974 Lnet/minecraft/class_1308;method_5974(D)Z
      named canImmediatelyDespawn Lnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z
    • isConverting

      public boolean isConverting()
      Mappings:
      Namespace Name Mixin selector
      official fI Lbmf;fI()Z
      intermediary method_7198 Lnet/minecraft/class_1641;method_7198()Z
      named isConverting Lnet/minecraft/entity/mob/ZombieVillagerEntity;isConverting()Z
    • setConverting

      private void setConverting(@Nullable @Nullable UUID uuid, int delay)
      Mappings:
      Namespace Name Mixin selector
      official a Lbmf;a(Ljava/util/UUID;I)V
      intermediary method_7199 Lnet/minecraft/class_1641;method_7199(Ljava/util/UUID;I)V
      named setConverting Lnet/minecraft/entity/mob/ZombieVillagerEntity;setConverting(Ljava/util/UUID;I)V
    • handleStatus

      public void handleStatus(byte status)
      Overrides:
      handleStatus in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lawt;a(B)V
      intermediary method_5711 Lnet/minecraft/class_1297;method_5711(B)V
      named handleStatus Lnet/minecraft/entity/Entity;handleStatus(B)V
    • finishConversion

      private void finishConversion(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      official c Lbmf;c(Ladi;)V
      intermediary method_7197 Lnet/minecraft/class_1641;method_7197(Lnet/minecraft/class_3218;)V
      named finishConversion Lnet/minecraft/entity/mob/ZombieVillagerEntity;finishConversion(Lnet/minecraft/server/world/ServerWorld;)V
    • getConversionRate

      private int getConversionRate()
      Mappings:
      Namespace Name Mixin selector
      official fL Lbmf;fL()I
      intermediary method_7194 Lnet/minecraft/class_1641;method_7194()I
      named getConversionRate Lnet/minecraft/entity/mob/ZombieVillagerEntity;getConversionRate()I
    • getSoundPitch

      public float getSoundPitch()
      Overrides:
      getSoundPitch in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official ev Laxh;ev()F
      intermediary method_6017 Lnet/minecraft/class_1309;method_6017()F
      named getSoundPitch Lnet/minecraft/entity/LivingEntity;getSoundPitch()F
    • getAmbientSound

      public SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      official r Laxj;r()Lagu;
      intermediary method_5994 Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
    • getHurtSound

      public SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      official c Laxh;c(Lawd;)Lagu;
      intermediary method_6011 Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
    • getDeathSound

      public SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      official x_ Laxh;x_()Lagu;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
    • getStepSound

      public SoundEvent getStepSound()
      Overrides:
      getStepSound in class ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      official t Lbme;t()Lagu;
      intermediary method_7207 Lnet/minecraft/class_1642;method_7207()Lnet/minecraft/class_3414;
      named getStepSound Lnet/minecraft/entity/mob/ZombieEntity;getStepSound()Lnet/minecraft/sound/SoundEvent;
    • getSkull

      protected ItemStack getSkull()
      Returns the item stack this entity will drop when killed by a charged creeper.
      Overrides:
      getSkull in class ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      official fy Lbme;fy()Lbue;
      intermediary method_7215 Lnet/minecraft/class_1642;method_7215()Lnet/minecraft/class_1799;
      named getSkull Lnet/minecraft/entity/mob/ZombieEntity;getSkull()Lnet/minecraft/item/ItemStack;
    • setOfferData

      public void setOfferData(NbtCompound offerTag)
      Mappings:
      Namespace Name Mixin selector
      official c Lbmf;c(Loc;)V
      intermediary method_16916 Lnet/minecraft/class_1641;method_16916(Lnet/minecraft/class_2487;)V
      named setOfferData Lnet/minecraft/entity/mob/ZombieVillagerEntity;setOfferData(Lnet/minecraft/nbt/NbtCompound;)V
    • setGossipData

      public void setGossipData(NbtElement gossipTag)
      Mappings:
      Namespace Name Mixin selector
      official a Lbmf;a(Lov;)V
      intermediary method_21649 Lnet/minecraft/class_1641;method_21649(Lnet/minecraft/class_2520;)V
      named setGossipData Lnet/minecraft/entity/mob/ZombieVillagerEntity;setGossipData(Lnet/minecraft/nbt/NbtElement;)V
    • initialize

      @Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt)
      Overrides:
      initialize in class ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laxj;a(Lcas;Lavo;Laxl;Laxz;Loc;)Laxz;
      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_2487;)Lnet/minecraft/class_1315;
      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/nbt/NbtCompound;)Lnet/minecraft/entity/EntityData;
    • setVillagerData

      public void setVillagerData(VillagerData villagerData)
      Specified by:
      setVillagerData in interface VillagerDataContainer
      Mappings:
      Namespace Name Mixin selector
      official a Lbng;a(Lbnf;)V
      intermediary method_7195 Lnet/minecraft/class_3851;method_7195(Lnet/minecraft/class_3850;)V
      named setVillagerData Lnet/minecraft/village/VillagerDataContainer;setVillagerData(Lnet/minecraft/village/VillagerData;)V
    • getVillagerData

      public VillagerData getVillagerData()
      Specified by:
      getVillagerData in interface VillagerDataContainer
      Mappings:
      Namespace Name Mixin selector
      official fJ Lbng;fJ()Lbnf;
      intermediary method_7231 Lnet/minecraft/class_3851;method_7231()Lnet/minecraft/class_3850;
      named getVillagerData Lnet/minecraft/village/VillagerDataContainer;getVillagerData()Lnet/minecraft/village/VillagerData;
    • getXp

      public int getXp()
      Mappings:
      Namespace Name Mixin selector
      official fK Lbmf;fK()I
      intermediary method_35194 Lnet/minecraft/class_1641;method_35194()I
      named getXp Lnet/minecraft/entity/mob/ZombieVillagerEntity;getXp()I
    • setXp

      public void setXp(int xp)
      Mappings:
      Namespace Name Mixin selector
      official a Lbmf;a(I)V
      intermediary method_19622 Lnet/minecraft/class_1641;method_19622(I)V
      named setXp Lnet/minecraft/entity/mob/ZombieVillagerEntity;setXp(I)V