Class VillagerEntity

All Implemented Interfaces:
CommandSource, Trader, EntityCategoryProvider, Tradable

public class VillagerEntity extends PassiveEntity implements Trader, Tradable
Mappings:
Namespace Name
official wi
intermediary net/minecraft/class_985
named net/minecraft/entity/passive/VillagerEntity
  • Field Details

    • TRADES

      private static final VillagerEntity.TradeProvider[][][][] TRADES
      Mappings:
      Namespace Name Mixin selector
      official bC Lwi;bC:[[[[Lwi$f;
      intermediary field_12108 Lnet/minecraft/class_985;field_12108:[[[[Lnet/minecraft/class_985$class_2668;
      named TRADES Lnet/minecraft/entity/passive/VillagerEntity;TRADES:[[[[Lnet/minecraft/entity/passive/VillagerEntity$TradeProvider;
    • field_3951

      private int field_3951
      Mappings:
      Namespace Name Mixin selector
      official bn Lwi;bn:I
      intermediary field_3951 Lnet/minecraft/class_985;field_3951:I
      named field_3951 Lnet/minecraft/entity/passive/VillagerEntity;field_3951:I
    • field_3952

      private boolean field_3952
      Mappings:
      Namespace Name Mixin selector
      official bo Lwi;bo:Z
      intermediary field_3952 Lnet/minecraft/class_985;field_3952:Z
      named field_3952 Lnet/minecraft/entity/passive/VillagerEntity;field_3952:Z
    • field_3953

      private boolean field_3953
      Mappings:
      Namespace Name Mixin selector
      official bp Lwi;bp:Z
      intermediary field_3953 Lnet/minecraft/class_985;field_3953:Z
      named field_3953 Lnet/minecraft/entity/passive/VillagerEntity;field_3953:Z
    • field_3950

      Village field_3950
      Mappings:
      Namespace Name Mixin selector
      official bm Lwi;bm:Ltf;
      intermediary field_3950 Lnet/minecraft/class_985;field_3950:Lnet/minecraft/class_938;
      named field_3950 Lnet/minecraft/entity/passive/VillagerEntity;field_3950:Lnet/minecraft/village/Village;
    • customer

      private PlayerEntity customer
      Mappings:
      Namespace Name Mixin selector
      official bq Lwi;bq:Lwn;
      intermediary field_3954 Lnet/minecraft/class_985;field_3954:Lnet/minecraft/class_988;
      named customer Lnet/minecraft/entity/passive/VillagerEntity;customer:Lnet/minecraft/entity/player/PlayerEntity;
    • offers

      private TraderOfferList offers
      Mappings:
      Namespace Name Mixin selector
      official br Lwi;br:Lada;
      intermediary field_3955 Lnet/minecraft/class_985;field_3955:Lnet/minecraft/class_1145;
      named offers Lnet/minecraft/entity/passive/VillagerEntity;offers:Lnet/minecraft/village/TraderOfferList;
    • field_3956

      private int field_3956
      Mappings:
      Namespace Name Mixin selector
      official bs Lwi;bs:I
      intermediary field_3956 Lnet/minecraft/class_985;field_3956:I
      named field_3956 Lnet/minecraft/entity/passive/VillagerEntity;field_3956:I
    • field_3948

      private boolean field_3948
      Mappings:
      Namespace Name Mixin selector
      official bt Lwi;bt:Z
      intermediary field_3948 Lnet/minecraft/class_985;field_3948:Z
      named field_3948 Lnet/minecraft/entity/passive/VillagerEntity;field_3948:Z
    • willingToMate

      private boolean willingToMate
      Mappings:
      Namespace Name Mixin selector
      official bu Lwi;bu:Z
      intermediary field_12109 Lnet/minecraft/class_985;field_12109:Z
      named willingToMate Lnet/minecraft/entity/passive/VillagerEntity;willingToMate:Z
    • riches

      private int riches
      Mappings:
      Namespace Name Mixin selector
      official bv Lwi;bv:I
      intermediary field_3949 Lnet/minecraft/class_985;field_3949:I
      named riches Lnet/minecraft/entity/passive/VillagerEntity;riches:I
    • field_5395

      private String field_5395
      Mappings:
      Namespace Name Mixin selector
      official bw Lwi;bw:Ljava/lang/String;
      intermediary field_5395 Lnet/minecraft/class_985;field_5395:Ljava/lang/String;
      named field_5395 Lnet/minecraft/entity/passive/VillagerEntity;field_5395:Ljava/lang/String;
    • career

      private int career
      Mappings:
      Namespace Name Mixin selector
      official bx Lwi;bx:I
      intermediary field_12110 Lnet/minecraft/class_985;field_12110:I
      named career Lnet/minecraft/entity/passive/VillagerEntity;career:I
    • careerLevel

      private int careerLevel
      Mappings:
      Namespace Name Mixin selector
      official by Lwi;by:I
      intermediary field_12111 Lnet/minecraft/class_985;field_12111:I
      named careerLevel Lnet/minecraft/entity/passive/VillagerEntity;careerLevel:I
    • field_5396

      private boolean field_5396
      Mappings:
      Namespace Name Mixin selector
      official bz Lwi;bz:Z
      intermediary field_5396 Lnet/minecraft/class_985;field_5396:Z
      named field_5396 Lnet/minecraft/entity/passive/VillagerEntity;field_5396:Z
    • field_12106

      private boolean field_12106
      Mappings:
      Namespace Name Mixin selector
      official bA Lwi;bA:Z
      intermediary field_12106 Lnet/minecraft/class_985;field_12106:Z
      named field_12106 Lnet/minecraft/entity/passive/VillagerEntity;field_12106:Z
    • villagerInventory

      private SimpleInventory villagerInventory
      Mappings:
      Namespace Name Mixin selector
      official bB Lwi;bB:Loq;
      intermediary field_12107 Lnet/minecraft/class_985;field_12107:Lnet/minecraft/class_852;
      named villagerInventory Lnet/minecraft/entity/passive/VillagerEntity;villagerInventory:Lnet/minecraft/inventory/SimpleInventory;
  • Constructor Details

    • VillagerEntity

      public VillagerEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lpk;<init>(Ladm;)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
    • VillagerEntity

      public VillagerEntity(World world, int profession)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwi;<init>(Ladm;I)V
      intermediary <init> Lnet/minecraft/class_985;<init>(Lnet/minecraft/class_1150;I)V
      named <init> Lnet/minecraft/entity/passive/VillagerEntity;<init>(Lnet/minecraft/world/World;I)V
  • Method Details

    • method_11225

      private void method_11225()
      Mappings:
      Namespace Name Mixin selector
      official cv Lwi;cv()V
      intermediary method_11225 Lnet/minecraft/class_985;method_11225()V
      named method_11225 Lnet/minecraft/entity/passive/VillagerEntity;method_11225()V
    • method_10926

      protected void method_10926()
      Overrides:
      method_10926 in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official n Lph;n()V
      intermediary method_10926 Lnet/minecraft/class_862;method_10926()V
      named method_10926 Lnet/minecraft/entity/passive/PassiveEntity;method_10926()V
    • initializeAttributes

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

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

      public boolean canBeLeashedBy(PlayerEntity player)
      Overrides:
      canBeLeashedBy in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lps;a(Lwn;)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
    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official h Lpk;h()V
      intermediary method_2484 Lnet/minecraft/class_864;method_2484()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lpk;b(Ldn;)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 PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lpk;a(Ldn;)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
    • canImmediatelyDespawn

      protected boolean canImmediatelyDespawn()
      Overrides:
      canImmediatelyDespawn in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official C Lps;C()Z
      intermediary method_2631 Lnet/minecraft/class_871;method_2631()Z
      named canImmediatelyDespawn Lnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn()Z
    • getAmbientSound

      protected String getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official z Lps;z()Ljava/lang/String;
      intermediary method_2603 Lnet/minecraft/class_871;method_2603()Ljava/lang/String;
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Ljava/lang/String;
    • getHurtSound

      protected String getHurtSound()
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bo Lpr;bo()Ljava/lang/String;
      intermediary method_2604 Lnet/minecraft/class_1699;method_2604()Ljava/lang/String;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
    • getDeathSound

      protected String getDeathSound()
      Overrides:
      getDeathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bp Lpr;bp()Ljava/lang/String;
      intermediary method_2605 Lnet/minecraft/class_1699;method_2605()Ljava/lang/String;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
    • setProfession

      public void setProfession(int professon)
      Mappings:
      Namespace Name Mixin selector
      official r Lwi;r(I)V
      intermediary method_3108 Lnet/minecraft/class_985;method_3108(I)V
      named setProfession Lnet/minecraft/entity/passive/VillagerEntity;setProfession(I)V
    • profession

      public int profession()
      Mappings:
      Namespace Name Mixin selector
      official cl Lwi;cl()I
      intermediary method_3115 Lnet/minecraft/class_985;method_3115()I
      named profession Lnet/minecraft/entity/passive/VillagerEntity;profession()I
    • method_3116

      public boolean method_3116()
      Mappings:
      Namespace Name Mixin selector
      official cm Lwi;cm()Z
      intermediary method_3116 Lnet/minecraft/class_985;method_3116()Z
      named method_3116 Lnet/minecraft/entity/passive/VillagerEntity;method_3116()Z
    • method_3113

      public void method_3113(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official l Lwi;l(Z)V
      intermediary method_3113 Lnet/minecraft/class_985;method_3113(Z)V
      named method_3113 Lnet/minecraft/entity/passive/VillagerEntity;method_3113(Z)V
    • method_3114

      public void method_3114(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official m Lwi;m(Z)V
      intermediary method_3114 Lnet/minecraft/class_985;method_3114(Z)V
      named method_3114 Lnet/minecraft/entity/passive/VillagerEntity;method_3114(Z)V
    • method_3117

      public boolean method_3117()
      Mappings:
      Namespace Name Mixin selector
      official cn Lwi;cn()Z
      intermediary method_3117 Lnet/minecraft/class_985;method_3117()Z
      named method_3117 Lnet/minecraft/entity/passive/VillagerEntity;method_3117()Z
    • setAttacker

      public void setAttacker(LivingEntity entity)
      Overrides:
      setAttacker in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lpr;b(Lpr;)V
      intermediary method_6132 Lnet/minecraft/class_1699;method_6132(Lnet/minecraft/class_1699;)V
      named setAttacker Lnet/minecraft/entity/LivingEntity;setAttacker(Lnet/minecraft/entity/LivingEntity;)V
    • onKilled

      public void onKilled(DamageSource source)
      Overrides:
      onKilled in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lpr;a(Low;)V
      intermediary method_2580 Lnet/minecraft/class_1699;method_2580(Lnet/minecraft/class_856;)V
      named onKilled Lnet/minecraft/entity/LivingEntity;onKilled(Lnet/minecraft/entity/damage/DamageSource;)V
    • setCurrentCustomer

      public void setCurrentCustomer(PlayerEntity player)
      Specified by:
      setCurrentCustomer in interface Trader
      Mappings:
      Namespace Name Mixin selector
      official a_ Lacy;a_(Lwn;)V
      intermediary method_3544 Lnet/minecraft/class_1143;method_3544(Lnet/minecraft/class_988;)V
      named setCurrentCustomer Lnet/minecraft/entity/data/Trader;setCurrentCustomer(Lnet/minecraft/entity/player/PlayerEntity;)V
    • getCurrentCustomer

      public PlayerEntity getCurrentCustomer()
      Specified by:
      getCurrentCustomer in interface Trader
      Mappings:
      Namespace Name Mixin selector
      official v_ Lacy;v_()Lwn;
      intermediary method_3546 Lnet/minecraft/class_1143;method_3546()Lnet/minecraft/class_988;
      named getCurrentCustomer Lnet/minecraft/entity/data/Trader;getCurrentCustomer()Lnet/minecraft/entity/player/PlayerEntity;
    • hasCustomer

      public boolean hasCustomer()
      Mappings:
      Namespace Name Mixin selector
      official co Lwi;co()Z
      intermediary method_3118 Lnet/minecraft/class_985;method_3118()Z
      named hasCustomer Lnet/minecraft/entity/passive/VillagerEntity;hasCustomer()Z
    • method_11227

      public boolean method_11227(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official n Lwi;n(Z)Z
      intermediary method_11227 Lnet/minecraft/class_985;method_11227(Z)Z
      named method_11227 Lnet/minecraft/entity/passive/VillagerEntity;method_11227(Z)Z
    • method_11228

      public void method_11228(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official o Lwi;o(Z)V
      intermediary method_11228 Lnet/minecraft/class_985;method_11228(Z)V
      named method_11228 Lnet/minecraft/entity/passive/VillagerEntity;method_11228(Z)V
    • trade

      public void trade(TradeOffer offer)
      Specified by:
      trade in interface Trader
      Mappings:
      Namespace Name Mixin selector
      official a Lacy;a(Lacz;)V
      intermediary method_3542 Lnet/minecraft/class_1143;method_3542(Lnet/minecraft/class_1144;)V
      named trade Lnet/minecraft/entity/data/Trader;trade(Lnet/minecraft/village/TradeOffer;)V
    • method_5501

      public void method_5501(ItemStack stack)
      Specified by:
      method_5501 in interface Trader
      Mappings:
      Namespace Name Mixin selector
      official a_ Lacy;a_(Lzx;)V
      intermediary method_5501 Lnet/minecraft/class_1143;method_5501(Lnet/minecraft/class_1071;)V
      named method_5501 Lnet/minecraft/entity/data/Trader;method_5501(Lnet/minecraft/item/ItemStack;)V
    • getOffers

      public TraderOfferList getOffers(PlayerEntity player)
      Specified by:
      getOffers in interface Trader
      Mappings:
      Namespace Name Mixin selector
      official b_ Lacy;b_(Lwn;)Lada;
      intermediary method_3545 Lnet/minecraft/class_1143;method_3545(Lnet/minecraft/class_988;)Lnet/minecraft/class_1145;
      named getOffers Lnet/minecraft/entity/data/Trader;getOffers(Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/village/TraderOfferList;
    • getOffers

      private void getOffers()
      Mappings:
      Namespace Name Mixin selector
      official cw Lwi;cw()V
      intermediary method_11226 Lnet/minecraft/class_985;method_11226()V
      named getOffers Lnet/minecraft/entity/passive/VillagerEntity;getOffers()V
    • setTraderOfferList

      @Environment(CLIENT) public void setTraderOfferList(TraderOfferList list)
      Specified by:
      setTraderOfferList in interface Trader
      Mappings:
      Namespace Name Mixin selector
      official a Lacy;a(Lada;)V
      intermediary method_3543 Lnet/minecraft/class_1143;method_3543(Lnet/minecraft/class_1145;)V
      named setTraderOfferList Lnet/minecraft/entity/data/Trader;setTraderOfferList(Lnet/minecraft/village/TraderOfferList;)V
    • method_6344

      public Text method_6344()
      Specified by:
      method_6344 in interface CommandSource
      Specified by:
      method_6344 in interface Trader
      Overrides:
      method_6344 in class Entity
      Mappings:
      Namespace Name Mixin selector
      official f_ Lm;f_()Leu;
      intermediary method_6344 Lnet/minecraft/class_1061;method_6344()Lnet/minecraft/class_1982;
      named method_6344 Lnet/minecraft/command/CommandSource;method_6344()Lnet/minecraft/text/Text;
    • getEyeHeight

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

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

      @Environment(CLIENT) private void addParticle(ParticleType particleType)
      Mappings:
      Namespace Name Mixin selector
      official a Lwi;a(Lcy;)V
      intermediary method_11218 Lnet/minecraft/class_985;method_11218(Lnet/minecraft/class_2562;)V
      named addParticle Lnet/minecraft/entity/passive/VillagerEntity;addParticle(Lnet/minecraft/client/particle/ParticleType;)V
    • initialize

      public EntityData initialize(LocalDifficulty difficulty, EntityData data)
      Overrides:
      initialize in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lps;a(Lok;Lpu;)Lpu;
      intermediary method_6156 Lnet/minecraft/class_871;method_6156(Lnet/minecraft/class_2607;Lnet/minecraft/class_1700;)Lnet/minecraft/class_1700;
      named initialize Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/EntityData;)Lnet/minecraft/entity/EntityData;
    • method_4567

      public void method_4567()
      Mappings:
      Namespace Name Mixin selector
      official cp Lwi;cp()V
      intermediary method_4567 Lnet/minecraft/class_985;method_4567()V
      named method_4567 Lnet/minecraft/entity/passive/VillagerEntity;method_4567()V
    • breed

      public VillagerEntity breed(PassiveEntity passiveEntity)
      Specified by:
      breed in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lwi;b(Lph;)Lwi;
      intermediary method_4565 Lnet/minecraft/class_985;method_4565(Lnet/minecraft/class_862;)Lnet/minecraft/class_985;
      named breed Lnet/minecraft/entity/passive/VillagerEntity;breed(Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/VillagerEntity;
    • isTameable

      public boolean isTameable()
      Overrides:
      isTameable in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official cb Lps;cb()Z
      intermediary method_6160 Lnet/minecraft/class_871;method_6160()Z
      named isTameable Lnet/minecraft/entity/mob/MobEntity;isTameable()Z
    • onLightningStrike

      public void onLightningStrike(LightningBoltEntity lightning)
      Overrides:
      onLightningStrike in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lpk;a(Luv;)V
      intermediary method_2502 Lnet/minecraft/class_864;method_2502(Lnet/minecraft/class_961;)V
      named onLightningStrike Lnet/minecraft/entity/Entity;onLightningStrike(Lnet/minecraft/entity/LightningBoltEntity;)V
    • method_11220

      public SimpleInventory method_11220()
      Mappings:
      Namespace Name Mixin selector
      official cq Lwi;cq()Loq;
      intermediary method_11220 Lnet/minecraft/class_985;method_11220()Lnet/minecraft/class_852;
      named method_11220 Lnet/minecraft/entity/passive/VillagerEntity;method_11220()Lnet/minecraft/inventory/SimpleInventory;
    • loot

      protected void loot(ItemEntity item)
      Overrides:
      loot in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lps;a(Luz;)V
      intermediary method_10984 Lnet/minecraft/class_871;method_10984(Lnet/minecraft/class_964;)V
      named loot Lnet/minecraft/entity/mob/MobEntity;loot(Lnet/minecraft/entity/ItemEntity;)V
    • canPickUp

      private boolean canPickUp(Item item)
      Mappings:
      Namespace Name Mixin selector
      official a Lwi;a(Lzw;)Z
      intermediary method_11219 Lnet/minecraft/class_985;method_11219(Lnet/minecraft/class_1069;)Z
      named canPickUp Lnet/minecraft/entity/passive/VillagerEntity;canPickUp(Lnet/minecraft/item/Item;)Z
    • method_11221

      public boolean method_11221()
      Mappings:
      Namespace Name Mixin selector
      official cr Lwi;cr()Z
      intermediary method_11221 Lnet/minecraft/class_985;method_11221()Z
      named method_11221 Lnet/minecraft/entity/passive/VillagerEntity;method_11221()Z
    • method_11222

      public boolean method_11222()
      Mappings:
      Namespace Name Mixin selector
      official cs Lwi;cs()Z
      intermediary method_11222 Lnet/minecraft/class_985;method_11222()Z
      named method_11222 Lnet/minecraft/entity/passive/VillagerEntity;method_11222()Z
    • method_11223

      public boolean method_11223()
      Mappings:
      Namespace Name Mixin selector
      official ct Lwi;ct()Z
      intermediary method_11223 Lnet/minecraft/class_985;method_11223()Z
      named method_11223 Lnet/minecraft/entity/passive/VillagerEntity;method_11223()Z
    • method_11229

      private boolean method_11229(int int2)
      Mappings:
      Namespace Name Mixin selector
      official s Lwi;s(I)Z
      intermediary method_11229 Lnet/minecraft/class_985;method_11229(I)Z
      named method_11229 Lnet/minecraft/entity/passive/VillagerEntity;method_11229(I)Z
    • hasSeedToPlant

      public boolean hasSeedToPlant()
      Mappings:
      Namespace Name Mixin selector
      official cu Lwi;cu()Z
      intermediary method_11224 Lnet/minecraft/class_985;method_11224()Z
      named hasSeedToPlant Lnet/minecraft/entity/passive/VillagerEntity;hasSeedToPlant()Z
    • equip

      public boolean equip(int slot, ItemStack item)
      Overrides:
      equip in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official d Lpk;d(ILzx;)Z
      intermediary method_10956 Lnet/minecraft/class_864;method_10956(ILnet/minecraft/class_1071;)Z
      named equip Lnet/minecraft/entity/Entity;equip(ILnet/minecraft/item/ItemStack;)Z