History - net.minecraft.entity.passive.VillagerEntity
26.3-snapshot-3
Names
Fields
Constructors
Methods
26.3-snapshot-2
Names
Fields
Constructors
Methods
26.3-snapshot-1
Names
Fields
boolean: DEFAULT_ASSIGN_PROFESSION_WHEN_SPAWNED, field_57714, DEFAULT_NATURAL
boolean: assignProfessionWhenSpawned, field_25167, natural
Constructors
Methods
boolean (): assignProfessionWhenSpawned, method_29279, isNatural
26.2
Names
Fields
boolean: chasing, field_30612, field_30612
EntityDimensions: BABY_DIMENSIONS, field_1_1851, field_1_1851
EntityDimensions: BABY_DIMENSIONS, field_1_1851, BABY_DIMENSIONS
Constructors
(EntityType<? extends VillagerEntity>, World, RegistryKey<VillagerType>)
(EntityType<? extends VillagerEntity>, World, RegistryEntry<VillagerType>)
Methods
boolean (): getVillagerDataFinalized, method_1_5274, isVillagerDataFinalized
void (boolean): setVillagerDataFinalized, method_1_5275, setVillagerDataFinalized
26.1.2
Names
Fields
Constructors
Methods
26.1.1
Names
Fields
Constructors
Methods
26.1
Names
Fields
int: TRADES_PER_LEVEL, field_30604, field_30604
com.google.common.collect.ImmutableList<MemoryModuleType<?>>: MEMORY_TYPES, field_18538, MEMORY_MODULES
com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super VillagerEntity>>>: SENSOR_TYPES, field_18539, SENSORS
TrackedData<Boolean>: DATA_VILLAGER_DATA_FINALIZED, field_1_625, VILLAGER_DATA_FINALIZED
EntityDimensions: BABY_DIMENSIONS, field_1_1851, field_1_1851
Brain$Profile<VillagerEntity>: BRAIN_PROVIDER, field_1_1197, PROFILE
Constructors
Methods
Brain$Profile<VillagerEntity> (): brainProvider, method_28306, createBrainProfile
Brain<?> (com.mojang.serialization.Dynamic<?>): makeBrain, method_18867, deserializeBrain
void (BlockPos): startSleeping, method_18403, sleep
boolean (long, Long): lambda$golemSpawnConditionsMet$11, method_63012, method_63012
boolean (long, Long): lambda$golemSpawnConditionsMet$0, method_63012, method_63012
boolean (long, VillagerEntity): lambda$spawnGolemIfNeeded$10, method_20693, method_20693
boolean (long, VillagerEntity): lambda$spawnGolemIfNeeded$0, method_20693, method_20693
boolean (ItemStack): lambda$hasFarmSeeds$9, method_51304, method_51304
boolean (ItemStack): lambda$hasFarmSeeds$0, method_51304, method_51304
int (SimpleInventory, Map$Entry): lambda$countFoodPointsInInventory$8, method_19172, method_19172
int (SimpleInventory, Map$Entry): lambda$countFoodPointsInInventory$0, method_19172, method_19172
void (ServerWorld, WitchEntity): lambda$thunderHit$7, method_63666, method_63666
void (ServerWorld, WitchEntity): lambda$thunderHit$0, method_63666, method_63666
boolean (VillagerGossipType): lambda$getPlayerReputation$6, method_20593, method_20593
boolean (VillagerGossipType): lambda$getPlayerReputation$0, method_20593, method_20593
void (MinecraftServer, MemoryModuleType, GlobalPos): lambda$releasePoi$5, method_19178, method_19178
void (MinecraftServer, MemoryModuleType, GlobalPos): lambda$releasePoi$0, method_19178, method_19178
void (ServerWorld, Entity, LivingEntity): lambda$tellWitnessesThatIWasMurdered$4, method_20699, method_20699
void (ServerWorld, Entity, LivingEntity): lambda$tellWitnessesThatIWasMurdered$0, method_20699, method_20699
boolean (VillagerEntity, RegistryEntry): lambda$static$3, method_19520, method_19520
boolean (VillagerEntity, RegistryEntry): lambda$static$4, method_19520, method_19520
boolean (VillagerEntity, RegistryEntry): lambda$static$2, method_29278, method_29278
boolean (VillagerEntity, RegistryEntry): lambda$static$3, method_29278, method_29278
boolean (VillagerEntity, RegistryEntry): lambda$static$1, method_19521, method_19521
boolean (VillagerEntity, RegistryEntry): lambda$static$2, method_19521, method_19521
boolean (VillagerEntity, RegistryEntry): lambda$static$0, method_19522, method_19522
boolean (VillagerEntity, RegistryEntry): lambda$static$1, method_19522, method_19522
Brain<VillagerEntity> (Brain$State): makeBrain, method_18867, deserializeBrain
EntityDimensions (EntityPose): getDefaultDimensions, method_55694, getBaseDimensions
Integer (ServerWorld, RegistryEntry$Reference): lambda$shouldRestock$0, method_1_1020, method_1_1020
List (VillagerEntity): lambda$static$0, method_1_1401, method_1_1401
1.21.11_unobfuscated
Names
net.minecraft.world.entity.npc.villager.Villager
net.minecraft.class_1646
net.minecraft.entity.passive.VillagerEntity
Fields
org.slf4j.Logger: LOGGER, field_36335, LOGGER
TrackedData<VillagerData>: DATA_VILLAGER_DATA, field_7445, VILLAGER_DATA
int: BREEDING_FOOD_THRESHOLD, field_30602, field_30602
Map<Item, Integer>: FOOD_POINTS, field_18526, ITEM_FOOD_VALUES
int: TRADES_PER_LEVEL, field_30604, field_30604
int: MAX_GOSSIP_TOPICS, field_30605, field_30605
int: GOSSIP_COOLDOWN, field_30606, field_30606
int: GOSSIP_DECAY_INTERVAL, field_30607, field_30607
int: HOW_FAR_AWAY_TO_TALK_TO_OTHER_VILLAGERS_ABOUT_GOLEMS, field_30609, field_30609
int: HOW_MANY_VILLAGERS_NEED_TO_AGREE_TO_SPAWN_A_GOLEM, field_30610, field_30610
long: TIME_SINCE_SLEEPING_FOR_GOLEM_SPAWNING, field_30611, field_30611
float: SPEED_MODIFIER, field_30603, field_30603
int: DEFAULT_XP, field_57709, field_57709
byte: DEFAULT_FOOD_LEVEL, field_57710, field_57710
int: DEFAULT_LAST_RESTOCK, field_57711, field_57711
int: DEFAULT_LAST_GOSSIP_DECAY, field_57712, field_57712
int: DEFAULT_RESTOCKS_TODAY, field_57713, field_57713
boolean: DEFAULT_ASSIGN_PROFESSION_WHEN_SPAWNED, field_57714, DEFAULT_NATURAL
int: updateMerchantTimer, field_18528, levelUpTimer
boolean: increaseProfessionLevelOnUpdate, field_18529, levelingUp
PlayerEntity: lastTradedPlayer, field_18530, lastCustomer
boolean: chasing, field_30612, field_30612
int: foodLevel, field_18533, foodLevel
VillagerGossips: gossips, field_18534, gossip
long: lastGossipTime, field_18535, gossipStartTime
long: lastGossipDecayTime, field_19357, lastGossipDecayTime
int: villagerXp, field_18536, experience
long: lastRestockGameTime, field_18537, lastRestockTime
int: numberOfRestocksToday, field_19427, restocksToday
long: lastRestockCheckDay, field_20332, lastRestockCheckTime
boolean: assignProfessionWhenSpawned, field_25167, natural
com.google.common.collect.ImmutableList<MemoryModuleType<?>>: MEMORY_TYPES, field_18538, MEMORY_MODULES
com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super VillagerEntity>>>: SENSOR_TYPES, field_18539, SENSORS
Map<MemoryModuleType<GlobalPos>, BiPredicate<VillagerEntity, RegistryEntry<PointOfInterestType>>>: POI_MEMORIES, field_18851, POINTS_OF_INTEREST
Constructors
(EntityType<? extends VillagerEntity>, World)
(EntityType<? extends VillagerEntity>, World, RegistryKey<VillagerType>)
(EntityType<? extends VillagerEntity>, World, RegistryEntry<VillagerType>)
Methods
Brain<VillagerEntity> (): getBrain, method_18868, getBrain
Brain$Profile<VillagerEntity> (): brainProvider, method_28306, createBrainProfile
Brain<?> (com.mojang.serialization.Dynamic<?>): makeBrain, method_18867, deserializeBrain
void (ServerWorld): refreshBrain, method_19179, reinitializeBrain
void (Brain<VillagerEntity>): registerBrainGoals, method_19174, initBrain
void (): ageBoundaryReached, method_5619, onGrowUp
DefaultAttributeContainer$Builder (): createAttributes, method_26955, createVillagerAttributes
boolean (): assignProfessionWhenSpawned, method_29279, isNatural
void (ServerWorld): customServerAiStep, method_5958, mobTick
void (): tick, method_5773, tick
ActionResult (PlayerEntity, Hand): mobInteract, method_5992, interactMob
void (): setUnhappy, method_20264, sayNo
void (PlayerEntity): startTrading, method_19191, beginTradeWith
void (PlayerEntity): setTradingPlayer, method_8259, setCustomer
void (): stopTrading, method_19181, resetCustomer
void (): resetSpecialPrices, method_19187, clearSpecialPrices
boolean (): canRestock, method_20708, canRefreshTrades
void (): restock, method_19182, restock
void (): resendOffersToTradingPlayer, method_49695, sendOffersToCustomer
boolean (): needsToRestock, method_20823, needsRestock
boolean (): allowedToRestock, method_20824, canRestock
boolean (ServerWorld): shouldRestock, method_20822, shouldRestock
void (): catchUpDemand, method_21723, restockAndUpdateDemandBonus
void (): updateDemand, method_21724, updateDemandBonus
void (PlayerEntity): updateSpecialPrices, method_19192, prepareOffersFor
void (DataTracker$Builder): defineSynchedData, method_5693, initDataTracker
VillagerData (): createDefaultVillagerData, method_67359, createVillagerData
void (WriteView): addAdditionalSaveData, method_5652, writeCustomData
void (ReadView): readAdditionalSaveData, method_5749, readCustomData
boolean (double): removeWhenFarAway, method_5974, canImmediatelyDespawn
SoundEvent (): getAmbientSound, method_5994, getAmbientSound
SoundEvent (DamageSource): getHurtSound, method_6011, getHurtSound
SoundEvent (): getDeathSound, method_6002, getDeathSound
void (): playWorkSound, method_19183, playWorkSound
void (VillagerData): setVillagerData, method_7195, setVillagerData
VillagerData (): getVillagerData, method_7231, getVillagerData
void (TradeOffer): rewardTradeXp, method_18008, afterUsing
void (LivingEntity): setLastHurtByMob, method_6015, setAttacker
void (DamageSource): die, method_6078, onDeath
void (): releaseAllPois, method_30958, releaseAllTickets
void (Entity): tellWitnessesThatIWasMurdered, method_20690, notifyDeath
void (MemoryModuleType<GlobalPos>): releasePoi, method_19176, releaseTicketFor
boolean (): canBreed, method_19184, isReadyToBreed
boolean (): hungry, method_20698, canEatFood
void (): eatUntilFull, method_19185, consumeAvailableFood
int (PlayerEntity): getPlayerReputation, method_20594, getReputation
void (int): digestFood, method_19193, depleteFood
void (): eatAndDigestFood, method_20697, eatForBreeding
void (TradeOfferList): setOffers, method_16917, setOffers
boolean (): shouldIncreaseLevel, method_19188, canLevelUp
void (ServerWorld): increaseMerchantCareer, method_16918, levelUp
Text (): getTypeName, method_23315, getDefaultName
void (byte): handleEntityEvent, method_5711, handleStatus
EntityData (ServerWorldAccess, LocalDifficulty, SpawnReason, EntityData): finalizeSpawn, method_5943, initialize
VillagerEntity (ServerWorld, PassiveEntity): getBreedOffspring, method_5613, createChild
void (ServerWorld, LightningEntity): thunderHit, method_5800, onStruckByLightning
void (ServerWorld, ItemEntity): pickUpItem, method_5949, loot
boolean (ServerWorld, ItemStack): wantsToPickUp, method_20820, canGather
boolean (): hasExcessFood, method_7234, canShareFoodForBreeding
boolean (): wantsMoreFood, method_7239, needsFoodForBreeding
int (): countFoodPointsInInventory, method_19189, getAvailableFood
boolean (): hasFarmSeeds, method_19623, hasSeedToPlant
void (ServerWorld): updateTrades, method_7237, fillRecipes
void (ServerWorld, VillagerEntity, long): gossip, method_19177, talkWithVillager
void (): maybeDecayGossip, method_20696, decayGossip
void (ServerWorld, long, int): spawnGolemIfNeeded, method_20688, summonGolem
boolean (long): wantsToSpawnGolem, method_20687, canSummonGolem
void (EntityInteraction, Entity): onReputationEventFrom, method_18870, onInteractionWith
int (): getVillagerXp, method_19269, getExperience
void (int): setVillagerXp, method_19625, setExperience
void (): resetNumberOfRestocks, method_20821, clearDailyRestockCount
VillagerGossips (): getGossips, method_21651, getGossip
void (VillagerGossips): setGossips, method_21650, readGossipData
void (BlockPos): startSleeping, method_18403, sleep
void (): stopSleeping, method_18400, wakeUp
boolean (long): golemSpawnConditionsMet, method_20741, hasRecentlySlept
<T> T (ComponentType<? extends T>): get, method_58694, get
void (ComponentsAccess): applyImplicitComponents, method_66649, copyComponentsFrom
<T> boolean (ComponentType<T>, T): applyImplicitComponent, method_66654, setApplicableComponent
PassiveEntity (ServerWorld, PassiveEntity): getBreedOffspring, method_5613, createChild
boolean (long, Long): lambda$golemSpawnConditionsMet$11, method_63012, method_63012
boolean (long, VillagerEntity): lambda$spawnGolemIfNeeded$10, method_20693, method_20693
boolean (ItemStack): lambda$hasFarmSeeds$9, method_51304, method_51304
int (SimpleInventory, Map$Entry): lambda$countFoodPointsInInventory$8, method_19172, method_19172
void (ServerWorld, WitchEntity): lambda$thunderHit$7, method_63666, method_63666
boolean (VillagerGossipType): lambda$getPlayerReputation$6, method_20593, method_20593
void (MinecraftServer, MemoryModuleType, GlobalPos): lambda$releasePoi$5, method_19178, method_19178
void (ServerWorld, Entity, LivingEntity): lambda$tellWitnessesThatIWasMurdered$4, method_20699, method_20699
boolean (VillagerEntity, RegistryEntry): lambda$static$3, method_19520, method_19520
boolean (VillagerEntity, RegistryEntry): lambda$static$2, method_29278, method_29278
boolean (VillagerEntity, RegistryEntry): lambda$static$1, method_19521, method_19521
boolean (VillagerEntity, RegistryEntry): lambda$static$0, method_19522, method_19522