Class VillagerEntity

All Implemented Interfaces:
EntityLike, InteractionObserver, Npc, CommandOutput, Nameable, Merchant, VillagerDataContainer

public class VillagerEntity
extends MerchantEntity
implements InteractionObserver, VillagerDataContainer
Mappings:
Namespace Name
official bgy
intermediary net/minecraft/class_1646
named net/minecraft/entity/passive/VillagerEntity
  • Field Details

    • VILLAGER_DATA

      private static final TrackedData<VillagerData> VILLAGER_DATA
      Mappings:
      Namespace Name Mixin selector
      official bp Lbgy;bp:Lvk;
      intermediary field_7445 Lnet/minecraft/class_1646;field_7445:Lnet/minecraft/class_2940;
      named VILLAGER_DATA Lnet/minecraft/entity/passive/VillagerEntity;VILLAGER_DATA:Lnet/minecraft/entity/data/TrackedData;
    • ITEM_FOOD_VALUES

      public static final Map<Item,​Integer> ITEM_FOOD_VALUES
      Mappings:
      Namespace Name Mixin selector
      official bn Lbgy;bn:Ljava/util/Map;
      intermediary field_18526 Lnet/minecraft/class_1646;field_18526:Ljava/util/Map;
      named ITEM_FOOD_VALUES Lnet/minecraft/entity/passive/VillagerEntity;ITEM_FOOD_VALUES:Ljava/util/Map;
    • GATHERABLE_ITEMS

      private static final Set<Item> GATHERABLE_ITEMS
      Mappings:
      Namespace Name Mixin selector
      official bq Lbgy;bq:Ljava/util/Set;
      intermediary field_18527 Lnet/minecraft/class_1646;field_18527:Ljava/util/Set;
      named GATHERABLE_ITEMS Lnet/minecraft/entity/passive/VillagerEntity;GATHERABLE_ITEMS:Ljava/util/Set;
    • MEMORY_MODULES

      private static final ImmutableList<MemoryModuleType<?>> MEMORY_MODULES
      Mappings:
      Namespace Name Mixin selector
      official bE Lbgy;bE:Lcom/google/common/collect/ImmutableList;
      intermediary field_18538 Lnet/minecraft/class_1646;field_18538:Lcom/google/common/collect/ImmutableList;
      named MEMORY_MODULES Lnet/minecraft/entity/passive/VillagerEntity;MEMORY_MODULES:Lcom/google/common/collect/ImmutableList;
    • SENSORS

      private static final ImmutableList<SensorType<? extends Sensor<? super VillagerEntity>>> SENSORS
      Mappings:
      Namespace Name Mixin selector
      official bF Lbgy;bF:Lcom/google/common/collect/ImmutableList;
      intermediary field_18539 Lnet/minecraft/class_1646;field_18539:Lcom/google/common/collect/ImmutableList;
      named SENSORS Lnet/minecraft/entity/passive/VillagerEntity;SENSORS:Lcom/google/common/collect/ImmutableList;
    • POINTS_OF_INTEREST

      public static final Map<MemoryModuleType<GlobalPos>,​BiPredicate<VillagerEntity,​PointOfInterestType>> POINTS_OF_INTEREST
      Mappings:
      Namespace Name Mixin selector
      official bo Lbgy;bo:Ljava/util/Map;
      intermediary field_18851 Lnet/minecraft/class_1646;field_18851:Ljava/util/Map;
      named POINTS_OF_INTEREST Lnet/minecraft/entity/passive/VillagerEntity;POINTS_OF_INTEREST:Ljava/util/Map;
    • levelUpTimer

      private int levelUpTimer
      Mappings:
      Namespace Name Mixin selector
      official br Lbgy;br:I
      intermediary field_18528 Lnet/minecraft/class_1646;field_18528:I
      named levelUpTimer Lnet/minecraft/entity/passive/VillagerEntity;levelUpTimer:I
    • levelingUp

      private boolean levelingUp
      Mappings:
      Namespace Name Mixin selector
      official bs Lbgy;bs:Z
      intermediary field_18529 Lnet/minecraft/class_1646;field_18529:Z
      named levelingUp Lnet/minecraft/entity/passive/VillagerEntity;levelingUp:Z
    • lastCustomer

      @Nullable private PlayerEntity lastCustomer
      Mappings:
      Namespace Name Mixin selector
      official bt Lbgy;bt:Lbhl;
      intermediary field_18530 Lnet/minecraft/class_1646;field_18530:Lnet/minecraft/class_1657;
      named lastCustomer Lnet/minecraft/entity/passive/VillagerEntity;lastCustomer:Lnet/minecraft/entity/player/PlayerEntity;
    • foodLevel

      private byte foodLevel
      Mappings:
      Namespace Name Mixin selector
      official bv Lbgy;bv:B
      intermediary field_18533 Lnet/minecraft/class_1646;field_18533:B
      named foodLevel Lnet/minecraft/entity/passive/VillagerEntity;foodLevel:B
    • gossip

      private final VillagerGossips gossip
      Mappings:
      Namespace Name Mixin selector
      official bw Lbgy;bw:Lazb;
      intermediary field_18534 Lnet/minecraft/class_1646;field_18534:Lnet/minecraft/class_4136;
      named gossip Lnet/minecraft/entity/passive/VillagerEntity;gossip:Lnet/minecraft/village/VillagerGossips;
    • gossipStartTime

      private long gossipStartTime
      Mappings:
      Namespace Name Mixin selector
      official bx Lbgy;bx:J
      intermediary field_18535 Lnet/minecraft/class_1646;field_18535:J
      named gossipStartTime Lnet/minecraft/entity/passive/VillagerEntity;gossipStartTime:J
    • lastGossipDecayTime

      private long lastGossipDecayTime
      Mappings:
      Namespace Name Mixin selector
      official by Lbgy;by:J
      intermediary field_19357 Lnet/minecraft/class_1646;field_19357:J
      named lastGossipDecayTime Lnet/minecraft/entity/passive/VillagerEntity;lastGossipDecayTime:J
    • experience

      private int experience
      Mappings:
      Namespace Name Mixin selector
      official bz Lbgy;bz:I
      intermediary field_18536 Lnet/minecraft/class_1646;field_18536:I
      named experience Lnet/minecraft/entity/passive/VillagerEntity;experience:I
    • lastRestockTime

      private long lastRestockTime
      Mappings:
      Namespace Name Mixin selector
      official bA Lbgy;bA:J
      intermediary field_18537 Lnet/minecraft/class_1646;field_18537:J
      named lastRestockTime Lnet/minecraft/entity/passive/VillagerEntity;lastRestockTime:J
    • restocksToday

      private int restocksToday
      Mappings:
      Namespace Name Mixin selector
      official bB Lbgy;bB:I
      intermediary field_19427 Lnet/minecraft/class_1646;field_19427:I
      named restocksToday Lnet/minecraft/entity/passive/VillagerEntity;restocksToday:I
    • lastRestockCheckTime

      private long lastRestockCheckTime
      Mappings:
      Namespace Name Mixin selector
      official bC Lbgy;bC:J
      intermediary field_20332 Lnet/minecraft/class_1646;field_20332:J
      named lastRestockCheckTime Lnet/minecraft/entity/passive/VillagerEntity;lastRestockCheckTime:J
    • natural

      private boolean natural
      Mappings:
      Namespace Name Mixin selector
      official bD Lbgy;bD:Z
      intermediary field_25167 Lnet/minecraft/class_1646;field_25167:Z
      named natural Lnet/minecraft/entity/passive/VillagerEntity;natural:Z
  • Constructor Details

    • VillagerEntity

      public VillagerEntity​(EntityType<? extends VillagerEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laqv;<init>(Laqz;Lbtv;)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
    • VillagerEntity

      public VillagerEntity​(EntityType<? extends VillagerEntity> entityType, World world, VillagerType type)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbgy;<init>(Laqz;Lbtv;Lbhd;)V
      intermediary <init> Lnet/minecraft/class_1646;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;Lnet/minecraft/class_3854;)V
      named <init> Lnet/minecraft/entity/passive/VillagerEntity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;Lnet/minecraft/village/VillagerType;)V
  • Method Details

    • getBrain

      public Brain<VillagerEntity> getBrain()
      Overrides:
      getBrain in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official df Lari;df()Lasc;
      intermediary method_18868 Lnet/minecraft/class_1309;method_18868()Lnet/minecraft/class_4095;
      named getBrain Lnet/minecraft/entity/LivingEntity;getBrain()Lnet/minecraft/entity/ai/brain/Brain;
    • createBrainProfile

      protected Brain.Profile<VillagerEntity> createBrainProfile()
      Overrides:
      createBrainProfile in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official dg Lari;dg()Lasc$b;
      intermediary method_28306 Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;
      named createBrainProfile Lnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;
    • deserializeBrain

      protected Brain<?> deserializeBrain​(com.mojang.serialization.Dynamic<?> dynamic)
      Overrides:
      deserializeBrain in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lari;a(Lcom/mojang/serialization/Dynamic;)Lasc;
      intermediary method_18867 Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;
      named deserializeBrain Lnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;
    • reinitializeBrain

      public void reinitializeBrain​(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      official c Lbgy;c(Laav;)V
      intermediary method_19179 Lnet/minecraft/class_1646;method_19179(Lnet/minecraft/class_3218;)V
      named reinitializeBrain Lnet/minecraft/entity/passive/VillagerEntity;reinitializeBrain(Lnet/minecraft/server/world/ServerWorld;)V
    • initBrain

      private void initBrain​(Brain<VillagerEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgy;a(Lasc;)V
      intermediary method_19174 Lnet/minecraft/class_1646;method_19174(Lnet/minecraft/class_4095;)V
      named initBrain Lnet/minecraft/entity/passive/VillagerEntity;initBrain(Lnet/minecraft/entity/ai/brain/Brain;)V
    • onGrowUp

      protected void onGrowUp()
      Overrides:
      onGrowUp in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official m Laqt;m()V
      intermediary method_5619 Lnet/minecraft/class_1296;method_5619()V
      named onGrowUp Lnet/minecraft/entity/passive/PassiveEntity;onGrowUp()V
    • createVillagerAttributes

      public static DefaultAttributeContainer.Builder createVillagerAttributes()
      Mappings:
      Namespace Name Mixin selector
      official fx Lbgy;fx()Lash$a;
      intermediary method_26955 Lnet/minecraft/class_1646;method_26955()Lnet/minecraft/class_5132$class_5133;
      named createVillagerAttributes Lnet/minecraft/entity/passive/VillagerEntity;createVillagerAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
    • isNatural

      public boolean isNatural()
      Mappings:
      Namespace Name Mixin selector
      official fy Lbgy;fy()Z
      intermediary method_29279 Lnet/minecraft/class_1646;method_29279()Z
      named isNatural Lnet/minecraft/entity/passive/VillagerEntity;isNatural()Z
    • mobTick

      protected void mobTick()
      Overrides:
      mobTick in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official eN Larj;eN()V
      intermediary method_5958 Lnet/minecraft/class_1308;method_5958()V
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick()V
    • tick

      public void tick()
      Overrides:
      tick in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official j Laqv;j()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 Larj;b(Lbhl;Lapp;)Lapq;
      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;
    • sayNo

      private void sayNo()
      Mappings:
      Namespace Name Mixin selector
      official fJ Lbgy;fJ()V
      intermediary method_20264 Lnet/minecraft/class_1646;method_20264()V
      named sayNo Lnet/minecraft/entity/passive/VillagerEntity;sayNo()V
    • beginTradeWith

      private void beginTradeWith​(PlayerEntity customer)
      Mappings:
      Namespace Name Mixin selector
      official h Lbgy;h(Lbhl;)V
      intermediary method_19191 Lnet/minecraft/class_1646;method_19191(Lnet/minecraft/class_1657;)V
      named beginTradeWith Lnet/minecraft/entity/passive/VillagerEntity;beginTradeWith(Lnet/minecraft/entity/player/PlayerEntity;)V
    • setCurrentCustomer

      public void setCurrentCustomer​(@Nullable PlayerEntity customer)
      Specified by:
      setCurrentCustomer in interface Merchant
      Overrides:
      setCurrentCustomer in class MerchantEntity
      Mappings:
      Namespace Name Mixin selector
      official f Lbsr;f(Lbhl;)V
      intermediary method_8259 Lnet/minecraft/class_1915;method_8259(Lnet/minecraft/class_1657;)V
      named setCurrentCustomer Lnet/minecraft/village/Merchant;setCurrentCustomer(Lnet/minecraft/entity/player/PlayerEntity;)V
    • resetCustomer

      protected void resetCustomer()
      Overrides:
      resetCustomer in class MerchantEntity
      Mappings:
      Namespace Name Mixin selector
      official fr Lbgt;fr()V
      intermediary method_19181 Lnet/minecraft/class_3988;method_19181()V
      named resetCustomer Lnet/minecraft/entity/passive/MerchantEntity;resetCustomer()V
    • clearCurrentBonus

      private void clearCurrentBonus()
      Mappings:
      Namespace Name Mixin selector
      official fK Lbgy;fK()V
      intermediary method_19187 Lnet/minecraft/class_1646;method_19187()V
      named clearCurrentBonus Lnet/minecraft/entity/passive/VillagerEntity;clearCurrentBonus()V
    • canRefreshTrades

      public boolean canRefreshTrades()
      Specified by:
      canRefreshTrades in interface Merchant
      Mappings:
      Namespace Name Mixin selector
      official fz Lbsr;fz()Z
      intermediary method_20708 Lnet/minecraft/class_1915;method_20708()Z
      named canRefreshTrades Lnet/minecraft/village/Merchant;canRefreshTrades()Z
    • restock

      public void restock()
      Mappings:
      Namespace Name Mixin selector
      official fA Lbgy;fA()V
      intermediary method_19182 Lnet/minecraft/class_1646;method_19182()V
      named restock Lnet/minecraft/entity/passive/VillagerEntity;restock()V
    • needRestock

      private boolean needRestock()
      Mappings:
      Namespace Name Mixin selector
      official fL Lbgy;fL()Z
      intermediary method_20823 Lnet/minecraft/class_1646;method_20823()Z
      named needRestock Lnet/minecraft/entity/passive/VillagerEntity;needRestock()Z
    • canRestock

      private boolean canRestock()
      Mappings:
      Namespace Name Mixin selector
      official fM Lbgy;fM()Z
      intermediary method_20824 Lnet/minecraft/class_1646;method_20824()Z
      named canRestock Lnet/minecraft/entity/passive/VillagerEntity;canRestock()Z
    • shouldRestock

      public boolean shouldRestock()
      Mappings:
      Namespace Name Mixin selector
      official fB Lbgy;fB()Z
      intermediary method_20822 Lnet/minecraft/class_1646;method_20822()Z
      named shouldRestock Lnet/minecraft/entity/passive/VillagerEntity;shouldRestock()Z
    • restockAndUpdatePricesOnDemand

      private void restockAndUpdatePricesOnDemand()
      Mappings:
      Namespace Name Mixin selector
      official fN Lbgy;fN()V
      intermediary method_21723 Lnet/minecraft/class_1646;method_21723()V
      named restockAndUpdatePricesOnDemand Lnet/minecraft/entity/passive/VillagerEntity;restockAndUpdatePricesOnDemand()V
    • updatePricesOnDemand

      private void updatePricesOnDemand()
      Mappings:
      Namespace Name Mixin selector
      official fO Lbgy;fO()V
      intermediary method_21724 Lnet/minecraft/class_1646;method_21724()V
      named updatePricesOnDemand Lnet/minecraft/entity/passive/VillagerEntity;updatePricesOnDemand()V
    • prepareRecipesFor

      private void prepareRecipesFor​(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official i Lbgy;i(Lbhl;)V
      intermediary method_19192 Lnet/minecraft/class_1646;method_19192(Lnet/minecraft/class_1657;)V
      named prepareRecipesFor Lnet/minecraft/entity/passive/VillagerEntity;prepareRecipesFor(Lnet/minecraft/entity/player/PlayerEntity;)V
    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class MerchantEntity
      Mappings:
      Namespace Name Mixin selector
      official e Laqv;e()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • writeCustomDataToTag

      public void writeCustomDataToTag​(CompoundTag tag)
      Overrides:
      writeCustomDataToTag in class MerchantEntity
      Mappings:
      Namespace Name Mixin selector
      official b Laqv;b(Lmq;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      named writeCustomDataToTag Lnet/minecraft/entity/Entity;writeCustomDataToTag(Lnet/minecraft/nbt/CompoundTag;)V
    • readCustomDataFromTag

      public void readCustomDataFromTag​(CompoundTag tag)
      Overrides:
      readCustomDataFromTag in class MerchantEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(Lmq;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      named readCustomDataFromTag Lnet/minecraft/entity/Entity;readCustomDataFromTag(Lnet/minecraft/nbt/CompoundTag;)V
    • canImmediatelyDespawn

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

      @Nullable protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official p Larj;p()Laef;
      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

      protected SoundEvent getHurtSound​(DamageSource source)
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lari;c(Laqf;)Laef;
      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

      protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official q Lari;q()Laef;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
    • playWorkSound

      public void playWorkSound()
      Mappings:
      Namespace Name Mixin selector
      official fC Lbgy;fC()V
      intermediary method_19183 Lnet/minecraft/class_1646;method_19183()V
      named playWorkSound Lnet/minecraft/entity/passive/VillagerEntity;playWorkSound()V
    • setVillagerData

      public void setVillagerData​(VillagerData villagerData)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgy;a(Lbgz;)V
      intermediary method_7221 Lnet/minecraft/class_1646;method_7221(Lnet/minecraft/class_3850;)V
      named setVillagerData Lnet/minecraft/entity/passive/VillagerEntity;setVillagerData(Lnet/minecraft/village/VillagerData;)V
    • getVillagerData

      public VillagerData getVillagerData()
      Specified by:
      getVillagerData in interface VillagerDataContainer
      Mappings:
      Namespace Name Mixin selector
      official fw Lbha;fw()Lbgz;
      intermediary method_7231 Lnet/minecraft/class_3851;method_7231()Lnet/minecraft/class_3850;
      named getVillagerData Lnet/minecraft/village/VillagerDataContainer;getVillagerData()Lnet/minecraft/village/VillagerData;
    • afterUsing

      protected void afterUsing​(TradeOffer offer)
      Specified by:
      afterUsing in class MerchantEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbgt;b(Lbss;)V
      intermediary method_18008 Lnet/minecraft/class_3988;method_18008(Lnet/minecraft/class_1914;)V
      named afterUsing Lnet/minecraft/entity/passive/MerchantEntity;afterUsing(Lnet/minecraft/village/TradeOffer;)V
    • setAttacker

      public void setAttacker​(@Nullable LivingEntity attacker)
      Overrides:
      setAttacker in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lari;a(Lari;)V
      intermediary method_6015 Lnet/minecraft/class_1309;method_6015(Lnet/minecraft/class_1309;)V
      named setAttacker Lnet/minecraft/entity/LivingEntity;setAttacker(Lnet/minecraft/entity/LivingEntity;)V
    • onDeath

      public void onDeath​(DamageSource source)
      Overrides:
      onDeath in class MerchantEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lari;a(Laqf;)V
      intermediary method_6078 Lnet/minecraft/class_1309;method_6078(Lnet/minecraft/class_1282;)V
      named onDeath Lnet/minecraft/entity/LivingEntity;onDeath(Lnet/minecraft/entity/damage/DamageSource;)V
    • releaseAllTickets

      private void releaseAllTickets()
      Mappings:
      Namespace Name Mixin selector
      official fP Lbgy;fP()V
      intermediary method_30958 Lnet/minecraft/class_1646;method_30958()V
      named releaseAllTickets Lnet/minecraft/entity/passive/VillagerEntity;releaseAllTickets()V
    • notifyDeath

      private void notifyDeath​(Entity killer)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgy;a(Laqv;)V
      intermediary method_20690 Lnet/minecraft/class_1646;method_20690(Lnet/minecraft/class_1297;)V
      named notifyDeath Lnet/minecraft/entity/passive/VillagerEntity;notifyDeath(Lnet/minecraft/entity/Entity;)V
    • releaseTicketFor

      public void releaseTicketFor​(MemoryModuleType<GlobalPos> memoryModuleType)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgy;a(Lazf;)V
      intermediary method_19176 Lnet/minecraft/class_1646;method_19176(Lnet/minecraft/class_4140;)V
      named releaseTicketFor Lnet/minecraft/entity/passive/VillagerEntity;releaseTicketFor(Lnet/minecraft/entity/ai/brain/MemoryModuleType;)V
    • isReadyToBreed

      public boolean isReadyToBreed()
      Overrides:
      isReadyToBreed in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official f Laqt;f()Z
      intermediary method_19184 Lnet/minecraft/class_1296;method_19184()Z
      named isReadyToBreed Lnet/minecraft/entity/passive/PassiveEntity;isReadyToBreed()Z
    • lacksFood

      private boolean lacksFood()
      Mappings:
      Namespace Name Mixin selector
      official fQ Lbgy;fQ()Z
      intermediary method_20698 Lnet/minecraft/class_1646;method_20698()Z
      named lacksFood Lnet/minecraft/entity/passive/VillagerEntity;lacksFood()Z
    • consumeAvailableFood

      private void consumeAvailableFood()
      Mappings:
      Namespace Name Mixin selector
      official fR Lbgy;fR()V
      intermediary method_19185 Lnet/minecraft/class_1646;method_19185()V
      named consumeAvailableFood Lnet/minecraft/entity/passive/VillagerEntity;consumeAvailableFood()V
    • getReputation

      public int getReputation​(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official g Lbgy;g(Lbhl;)I
      intermediary method_20594 Lnet/minecraft/class_1646;method_20594(Lnet/minecraft/class_1657;)I
      named getReputation Lnet/minecraft/entity/passive/VillagerEntity;getReputation(Lnet/minecraft/entity/player/PlayerEntity;)I
    • depleteFood

      private void depleteFood​(int amount)
      Mappings:
      Namespace Name Mixin selector
      official w Lbgy;w(I)V
      intermediary method_19193 Lnet/minecraft/class_1646;method_19193(I)V
      named depleteFood Lnet/minecraft/entity/passive/VillagerEntity;depleteFood(I)V
    • eatForBreeding

      public void eatForBreeding()
      Mappings:
      Namespace Name Mixin selector
      official fE Lbgy;fE()V
      intermediary method_20697 Lnet/minecraft/class_1646;method_20697()V
      named eatForBreeding Lnet/minecraft/entity/passive/VillagerEntity;eatForBreeding()V
    • setOffers

      public void setOffers​(TradeOfferList offers)
      Mappings:
      Namespace Name Mixin selector
      official b Lbgy;b(Lbst;)V
      intermediary method_16917 Lnet/minecraft/class_1646;method_16917(Lnet/minecraft/class_1916;)V
      named setOffers Lnet/minecraft/entity/passive/VillagerEntity;setOffers(Lnet/minecraft/village/TradeOfferList;)V
    • canLevelUp

      private boolean canLevelUp()
      Mappings:
      Namespace Name Mixin selector
      official fS Lbgy;fS()Z
      intermediary method_19188 Lnet/minecraft/class_1646;method_19188()Z
      named canLevelUp Lnet/minecraft/entity/passive/VillagerEntity;canLevelUp()Z
    • levelUp

      private void levelUp()
      Mappings:
      Namespace Name Mixin selector
      official fT Lbgy;fT()V
      intermediary method_16918 Lnet/minecraft/class_1646;method_16918()V
      named levelUp Lnet/minecraft/entity/passive/VillagerEntity;levelUp()V
    • getDefaultName

      protected Text getDefaultName()
      Overrides:
      getDefaultName in class Entity
      Mappings:
      Namespace Name Mixin selector
      official bT Laqv;bT()Loi;
      intermediary method_23315 Lnet/minecraft/class_1297;method_23315()Lnet/minecraft/class_2561;
      named getDefaultName Lnet/minecraft/entity/Entity;getDefaultName()Lnet/minecraft/text/Text;
    • handleStatus

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

      @Nullable public EntityData initialize​(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable CompoundTag entityTag)
      Overrides:
      initialize in class MerchantEntity
      Mappings:
      Namespace Name Mixin selector
      official a Larj;a(Lbuj;Lapo;Larl;Larz;Lmq;)Larz;
      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/CompoundTag;)Lnet/minecraft/entity/EntityData;
    • createChild

      public VillagerEntity createChild​(ServerWorld serverWorld, PassiveEntity passiveEntity)
      Specified by:
      createChild in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbgy;b(Laav;Laqt;)Lbgy;
      intermediary method_7225 Lnet/minecraft/class_1646;method_7225(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1646;
      named createChild Lnet/minecraft/entity/passive/VillagerEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/VillagerEntity;
    • onStruckByLightning

      public void onStruckByLightning​(ServerWorld world, LightningEntity lightning)
      Overrides:
      onStruckByLightning in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(Laav;Larh;)V
      intermediary method_5800 Lnet/minecraft/class_1297;method_5800(Lnet/minecraft/class_3218;Lnet/minecraft/class_1538;)V
      named onStruckByLightning Lnet/minecraft/entity/Entity;onStruckByLightning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LightningEntity;)V
    • loot

      protected void loot​(ItemEntity item)
      Overrides:
      loot in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Larj;b(Lbek;)V
      intermediary method_5949 Lnet/minecraft/class_1308;method_5949(Lnet/minecraft/class_1542;)V
      named loot Lnet/minecraft/entity/mob/MobEntity;loot(Lnet/minecraft/entity/ItemEntity;)V
    • canGather

      public boolean canGather​(ItemStack stack)
      Overrides:
      canGather in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official j Larj;j(Lbnv;)Z
      intermediary method_20820 Lnet/minecraft/class_1308;method_20820(Lnet/minecraft/class_1799;)Z
      named canGather Lnet/minecraft/entity/mob/MobEntity;canGather(Lnet/minecraft/item/ItemStack;)Z
    • wantsToStartBreeding

      public boolean wantsToStartBreeding()
      Mappings:
      Namespace Name Mixin selector
      official fF Lbgy;fF()Z
      intermediary method_7234 Lnet/minecraft/class_1646;method_7234()Z
      named wantsToStartBreeding Lnet/minecraft/entity/passive/VillagerEntity;wantsToStartBreeding()Z
    • canBreed

      public boolean canBreed()
      Mappings:
      Namespace Name Mixin selector
      official fG Lbgy;fG()Z
      intermediary method_7239 Lnet/minecraft/class_1646;method_7239()Z
      named canBreed Lnet/minecraft/entity/passive/VillagerEntity;canBreed()Z
    • getAvailableFood

      private int getAvailableFood()
      Mappings:
      Namespace Name Mixin selector
      official fU Lbgy;fU()I
      intermediary method_19189 Lnet/minecraft/class_1646;method_19189()I
      named getAvailableFood Lnet/minecraft/entity/passive/VillagerEntity;getAvailableFood()I
    • hasSeedToPlant

      public boolean hasSeedToPlant()
      Mappings:
      Namespace Name Mixin selector
      official fH Lbgy;fH()Z
      intermediary method_19623 Lnet/minecraft/class_1646;method_19623()Z
      named hasSeedToPlant Lnet/minecraft/entity/passive/VillagerEntity;hasSeedToPlant()Z
    • fillRecipes

      protected void fillRecipes()
      Specified by:
      fillRecipes in class MerchantEntity
      Mappings:
      Namespace Name Mixin selector
      official fu Lbgt;fu()V
      intermediary method_7237 Lnet/minecraft/class_3988;method_7237()V
      named fillRecipes Lnet/minecraft/entity/passive/MerchantEntity;fillRecipes()V
    • talkWithVillager

      public void talkWithVillager​(ServerWorld world, VillagerEntity villager, long time)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgy;a(Laav;Lbgy;J)V
      intermediary method_19177 Lnet/minecraft/class_1646;method_19177(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
      named talkWithVillager Lnet/minecraft/entity/passive/VillagerEntity;talkWithVillager(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
    • decayGossip

      private void decayGossip()
      Mappings:
      Namespace Name Mixin selector
      official fV Lbgy;fV()V
      intermediary method_20696 Lnet/minecraft/class_1646;method_20696()V
      named decayGossip Lnet/minecraft/entity/passive/VillagerEntity;decayGossip()V
    • summonGolem

      public void summonGolem​(ServerWorld world, long time, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgy;a(Laav;JI)V
      intermediary method_20688 Lnet/minecraft/class_1646;method_20688(Lnet/minecraft/class_3218;JI)V
      named summonGolem Lnet/minecraft/entity/passive/VillagerEntity;summonGolem(Lnet/minecraft/server/world/ServerWorld;JI)V
    • canSummonGolem

      public boolean canSummonGolem​(long time)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgy;a(J)Z
      intermediary method_20687 Lnet/minecraft/class_1646;method_20687(J)Z
      named canSummonGolem Lnet/minecraft/entity/passive/VillagerEntity;canSummonGolem(J)Z
    • spawnIronGolem

      @Nullable private IronGolemEntity spawnIronGolem​(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      official d Lbgy;d(Laav;)Lbbt;
      intermediary method_19190 Lnet/minecraft/class_1646;method_19190(Lnet/minecraft/class_3218;)Lnet/minecraft/class_1439;
      named spawnIronGolem Lnet/minecraft/entity/passive/VillagerEntity;spawnIronGolem(Lnet/minecraft/server/world/ServerWorld;)Lnet/minecraft/entity/passive/IronGolemEntity;
    • getHighestOpenPositionOnOffset

      @Nullable private BlockPos getHighestOpenPositionOnOffset​(BlockPos pos, double x, double z)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgy;a(Lfx;DD)Lfx;
      intermediary method_30023 Lnet/minecraft/class_1646;method_30023(Lnet/minecraft/class_2338;DD)Lnet/minecraft/class_2338;
      named getHighestOpenPositionOnOffset Lnet/minecraft/entity/passive/VillagerEntity;getHighestOpenPositionOnOffset(Lnet/minecraft/util/math/BlockPos;DD)Lnet/minecraft/util/math/BlockPos;
    • onInteractionWith

      public void onInteractionWith​(EntityInteraction interaction, Entity entity)
      Specified by:
      onInteractionWith in interface InteractionObserver
      Mappings:
      Namespace Name Mixin selector
      official a Larv;a(Lbav;Laqv;)V
      intermediary method_18870 Lnet/minecraft/class_4094;method_18870(Lnet/minecraft/class_4151;Lnet/minecraft/class_1297;)V
      named onInteractionWith Lnet/minecraft/entity/InteractionObserver;onInteractionWith(Lnet/minecraft/entity/EntityInteraction;Lnet/minecraft/entity/Entity;)V
    • getExperience

      public int getExperience()
      Specified by:
      getExperience in interface Merchant
      Overrides:
      getExperience in class MerchantEntity
      Mappings:
      Namespace Name Mixin selector
      official r Lbsr;r()I
      intermediary method_19269 Lnet/minecraft/class_1915;method_19269()I
      named getExperience Lnet/minecraft/village/Merchant;getExperience()I
    • setExperience

      public void setExperience​(int amount)
      Mappings:
      Namespace Name Mixin selector
      official v Lbgy;v(I)V
      intermediary method_19625 Lnet/minecraft/class_1646;method_19625(I)V
      named setExperience Lnet/minecraft/entity/passive/VillagerEntity;setExperience(I)V
    • clearDailyRestockCount

      private void clearDailyRestockCount()
      Mappings:
      Namespace Name Mixin selector
      official fW Lbgy;fW()V
      intermediary method_20821 Lnet/minecraft/class_1646;method_20821()V
      named clearDailyRestockCount Lnet/minecraft/entity/passive/VillagerEntity;clearDailyRestockCount()V
    • getGossip

      public VillagerGossips getGossip()
      Mappings:
      Namespace Name Mixin selector
      official fI Lbgy;fI()Lazb;
      intermediary method_21651 Lnet/minecraft/class_1646;method_21651()Lnet/minecraft/class_4136;
      named getGossip Lnet/minecraft/entity/passive/VillagerEntity;getGossip()Lnet/minecraft/village/VillagerGossips;
    • setGossipDataFromTag

      public void setGossipDataFromTag​(Tag tag)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgy;a(Lni;)V
      intermediary method_21650 Lnet/minecraft/class_1646;method_21650(Lnet/minecraft/class_2520;)V
      named setGossipDataFromTag Lnet/minecraft/entity/passive/VillagerEntity;setGossipDataFromTag(Lnet/minecraft/nbt/Tag;)V
    • sendAiDebugData

      protected void sendAiDebugData()
      Overrides:
      sendAiDebugData in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official Q Larj;Q()V
      intermediary method_18409 Lnet/minecraft/class_1308;method_18409()V
      named sendAiDebugData Lnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
    • sleep

      public void sleep​(BlockPos pos)
      Overrides:
      sleep in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lari;b(Lfx;)V
      intermediary method_18403 Lnet/minecraft/class_1309;method_18403(Lnet/minecraft/class_2338;)V
      named sleep Lnet/minecraft/entity/LivingEntity;sleep(Lnet/minecraft/util/math/BlockPos;)V
    • wakeUp

      public void wakeUp()
      Overrides:
      wakeUp in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official eL Lari;eL()V
      intermediary method_18400 Lnet/minecraft/class_1309;method_18400()V
      named wakeUp Lnet/minecraft/entity/LivingEntity;wakeUp()V
    • hasRecentlyWorkedAndSlept

      private boolean hasRecentlyWorkedAndSlept​(long worldTime)
      Mappings:
      Namespace Name Mixin selector
      official b Lbgy;b(J)Z
      intermediary method_20741 Lnet/minecraft/class_1646;method_20741(J)Z
      named hasRecentlyWorkedAndSlept Lnet/minecraft/entity/passive/VillagerEntity;hasRecentlyWorkedAndSlept(J)Z