Uses of Class
net.minecraft.entity.merchant.villager.VillagerEntity
-
-
Uses of VillagerEntity in net.minecraft.advancements.criterion
Methods in net.minecraft.advancements.criterion with parameters of type VillagerEntity Modifier and Type Method Description void
CuredZombieVillagerTrigger. trigger(ServerPlayerEntity p_192183_1_, ZombieEntity p_192183_2_, VillagerEntity p_192183_3_)
-
Uses of VillagerEntity in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity with parameters of type VillagerEntity Modifier and Type Method Description ResourceLocation
VillagerRenderer. getTextureLocation(VillagerEntity p_110775_1_)
protected void
VillagerRenderer. scale(VillagerEntity p_225620_1_, MatrixStack p_225620_2_, float p_225620_3_)
-
Uses of VillagerEntity in net.minecraft.entity
Fields in net.minecraft.entity with type parameters of type VillagerEntity Modifier and Type Field Description static EntityType<VillagerEntity>
EntityType. VILLAGER
-
Uses of VillagerEntity in net.minecraft.entity.ai.brain
Methods in net.minecraft.entity.ai.brain that return types with arguments of type VillagerEntity Modifier and Type Method Description static java.util.stream.Stream<VillagerEntity>
BrainUtil. getNearbyVillagersWithCondition(VillagerEntity p_233872_0_, java.util.function.Predicate<VillagerEntity> p_233872_1_)
Methods in net.minecraft.entity.ai.brain with parameters of type VillagerEntity Modifier and Type Method Description static java.util.stream.Stream<VillagerEntity>
BrainUtil. getNearbyVillagersWithCondition(VillagerEntity p_233872_0_, java.util.function.Predicate<VillagerEntity> p_233872_1_)
Method parameters in net.minecraft.entity.ai.brain with type arguments of type VillagerEntity Modifier and Type Method Description static java.util.stream.Stream<VillagerEntity>
BrainUtil. getNearbyVillagersWithCondition(VillagerEntity p_233872_0_, java.util.function.Predicate<VillagerEntity> p_233872_1_)
-
Uses of VillagerEntity in net.minecraft.entity.ai.brain.sensor
Methods in net.minecraft.entity.ai.brain.sensor with parameters of type VillagerEntity Modifier and Type Method Description protected void
SecondaryPositionSensor. doTick(ServerWorld p_212872_1_, VillagerEntity p_212872_2_)
-
Uses of VillagerEntity in net.minecraft.entity.ai.brain.task
Methods in net.minecraft.entity.ai.brain.task that return VillagerEntity Modifier and Type Method Description private static VillagerEntity
SwitchVillagerJobTask. selectWinner(VillagerEntity p_233932_0_, VillagerEntity p_233932_1_)
Methods in net.minecraft.entity.ai.brain.task that return types with arguments of type VillagerEntity Modifier and Type Method Description private java.util.Optional<VillagerEntity>
CreateBabyVillagerTask. breed(ServerWorld p_242307_1_, VillagerEntity p_242307_2_, VillagerEntity p_242307_3_)
static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super VillagerEntity>>>
VillagerTasks. getCorePackage(VillagerProfession p_220638_0_, float p_220638_1_)
static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super VillagerEntity>>>
VillagerTasks. getHidePackage(VillagerProfession p_220644_0_, float p_220644_1_)
static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super VillagerEntity>>>
VillagerTasks. getIdlePackage(VillagerProfession p_220641_0_, float p_220641_1_)
static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super VillagerEntity>>>
VillagerTasks. getMeetPackage(VillagerProfession p_220637_0_, float p_220637_1_)
static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super VillagerEntity>>>
VillagerTasks. getPanicPackage(VillagerProfession p_220636_0_, float p_220636_1_)
static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super VillagerEntity>>>
VillagerTasks. getPlayPackage(float p_220645_0_)
static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super VillagerEntity>>>
VillagerTasks. getPreRaidPackage(VillagerProfession p_220642_0_, float p_220642_1_)
static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super VillagerEntity>>>
VillagerTasks. getRaidPackage(VillagerProfession p_220640_0_, float p_220640_1_)
static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super VillagerEntity>>>
VillagerTasks. getRestPackage(VillagerProfession p_220635_0_, float p_220635_1_)
static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super VillagerEntity>>>
VillagerTasks. getWorkPackage(VillagerProfession p_220639_0_, float p_220639_1_)
Methods in net.minecraft.entity.ai.brain.task with parameters of type VillagerEntity Modifier and Type Method Description private java.util.Optional<VillagerEntity>
CreateBabyVillagerTask. breed(ServerWorld p_242307_1_, VillagerEntity p_242307_2_, VillagerEntity p_242307_3_)
private boolean
CreateBabyVillagerTask. canReach(VillagerEntity p_223520_1_, BlockPos p_223520_2_)
private boolean
FindJobTask. canReachPos(VillagerEntity p_234020_1_, BlockPos p_234020_2_, PointOfInterestType p_234020_3_)
protected boolean
BoneMealCropsTask. canStillUse(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_)
protected boolean
CelebrateRaidVictoryTask. canStillUse(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_)
protected boolean
CreateBabyVillagerTask. canStillUse(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_)
protected boolean
FarmTask. canStillUse(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_)
protected boolean
FindPotentialJobTask. canStillUse(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_)
protected boolean
GiveHeroGiftsTask. canStillUse(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_)
protected boolean
PanicTask. canStillUse(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_)
protected boolean
ShareItemsTask. canStillUse(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_)
boolean
ShowWaresTask. canStillUse(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_)
protected boolean
SpawnGolemTask. canStillUse(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_)
protected boolean
TradeTask. canStillUse(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_)
protected boolean
AssignProfessionTask. checkExtraStartConditions(ServerWorld p_212832_1_, VillagerEntity p_212832_2_)
protected boolean
BoneMealCropsTask. checkExtraStartConditions(ServerWorld p_212832_1_, VillagerEntity p_212832_2_)
protected boolean
CelebrateRaidVictoryTask. checkExtraStartConditions(ServerWorld p_212832_1_, VillagerEntity p_212832_2_)
protected boolean
ChangeJobTask. checkExtraStartConditions(ServerWorld p_212832_1_, VillagerEntity p_212832_2_)
protected boolean
CreateBabyVillagerTask. checkExtraStartConditions(ServerWorld p_212832_1_, VillagerEntity p_212832_2_)
protected boolean
FarmTask. checkExtraStartConditions(ServerWorld p_212832_1_, VillagerEntity p_212832_2_)
protected boolean
FindJobTask. checkExtraStartConditions(ServerWorld p_212832_1_, VillagerEntity p_212832_2_)
protected boolean
FindPotentialJobTask. checkExtraStartConditions(ServerWorld p_212832_1_, VillagerEntity p_212832_2_)
protected boolean
GiveHeroGiftsTask. checkExtraStartConditions(ServerWorld p_212832_1_, VillagerEntity p_212832_2_)
protected boolean
ShareItemsTask. checkExtraStartConditions(ServerWorld p_212832_1_, VillagerEntity p_212832_2_)
boolean
ShowWaresTask. checkExtraStartConditions(ServerWorld p_212832_1_, VillagerEntity p_212832_2_)
protected boolean
SpawnGolemTask. checkExtraStartConditions(ServerWorld p_212832_1_, VillagerEntity p_212832_2_)
protected boolean
TradeTask. checkExtraStartConditions(ServerWorld p_212832_1_, VillagerEntity p_212832_2_)
protected boolean
WalkToPOITask. checkExtraStartConditions(ServerWorld p_212832_1_, VillagerEntity p_212832_2_)
protected boolean
WalkTowardsRandomSecondaryPosTask. checkExtraStartConditions(ServerWorld p_212832_1_, VillagerEntity p_212832_2_)
private boolean
StayNearPointTask. closeEnough(ServerWorld p_220547_1_, VillagerEntity p_220547_2_, GlobalPos p_220547_3_)
private boolean
SwitchVillagerJobTask. competesForSameJobsite(GlobalPos p_233934_1_, PointOfInterestType p_233934_2_, VillagerEntity p_233934_3_)
private void
FarmerWorkTask. compostItems(ServerWorld p_234016_1_, VillagerEntity p_234016_2_, GlobalPos p_234016_3_, BlockState p_234016_4_)
private void
ShowWaresTask. displayCyclingItems(VillagerEntity p_220553_1_)
private void
ShowWaresTask. displayFirstItem(VillagerEntity p_220558_1_)
private void
StayNearPointTask. dropPOI(VillagerEntity p_225457_1_, long p_225457_2_)
private void
FindJobTask. eraseMemories(VillagerEntity p_234019_1_)
private static java.util.Set<Item>
ShareItemsTask. figureOutWhatIAmWillingToTrade(VillagerEntity p_220585_0_, VillagerEntity p_220585_1_)
private void
ShowWaresTask. findItemsToDisplay(LivingEntity p_220556_1_, VillagerEntity p_220556_2_)
private void
TradeTask. followPlayer(VillagerEntity p_220475_1_)
private java.util.List<ItemStack>
GiveHeroGiftsTask. getItemToThrow(VillagerEntity p_220399_1_)
private java.util.Optional<PlayerEntity>
GiveHeroGiftsTask. getNearestTargetableHero(VillagerEntity p_220400_1_)
private void
CreateBabyVillagerTask. giveBedToChild(ServerWorld p_220477_1_, VillagerEntity p_220477_2_, BlockPos p_220477_3_)
private boolean
SwitchVillagerJobTask. hasJobSite(VillagerEntity p_233931_1_)
private boolean
CreateBabyVillagerTask. isBreedingPossible(VillagerEntity p_220478_1_)
private static boolean
ClearHurtTask. isCloseToEntityThatHurtMe(VillagerEntity p_220394_0_)
private boolean
GiveHeroGiftsTask. isHeroVisible(VillagerEntity p_220396_1_)
private boolean
GiveHeroGiftsTask. isWithinThrowingDistance(VillagerEntity p_220401_1_, PlayerEntity p_220401_2_)
private LivingEntity
ShowWaresTask. lookAtTarget(VillagerEntity p_220557_1_)
private void
FarmerWorkTask. makeBread(VillagerEntity p_234015_1_)
private boolean
FindJobTask. nearbyWantsJobsite(PointOfInterestType p_234018_1_, VillagerEntity p_234018_2_, BlockPos p_234018_3_)
private java.util.Optional<BlockPos>
BoneMealCropsTask. pickNextTarget(ServerWorld p_233997_1_, VillagerEntity p_233997_2_)
private static VillagerEntity
SwitchVillagerJobTask. selectWinner(VillagerEntity p_233932_0_, VillagerEntity p_233932_1_)
private void
BoneMealCropsTask. setCurrentCropAsTarget(VillagerEntity p_233994_1_)
protected void
AssignProfessionTask. start(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_)
protected void
BoneMealCropsTask. start(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_)
protected void
ChangeJobTask. start(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_)
protected void
ClearHurtTask. start(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_)
protected void
CreateBabyVillagerTask. start(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_)
protected void
FarmTask. start(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_)
protected void
FindJobTask. start(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_)
protected void
GiveHeroGiftsTask. start(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_)
protected void
PanicTask. start(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_)
protected void
ShareItemsTask. start(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_)
void
ShowWaresTask. start(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_)
protected void
SpawnGolemTask. start(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_)
protected void
StayNearPointTask. start(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_)
protected void
SwitchVillagerJobTask. start(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_)
protected void
TradeTask. start(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_)
protected void
WalkToPOITask. start(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_)
protected void
WalkTowardsRandomSecondaryPosTask. start(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_)
protected void
BoneMealCropsTask. stop(ServerWorld p_212835_1_, VillagerEntity p_212835_2_, long p_212835_3_)
protected void
CelebrateRaidVictoryTask. stop(ServerWorld p_212835_1_, VillagerEntity p_212835_2_, long p_212835_3_)
protected void
CreateBabyVillagerTask. stop(ServerWorld p_212835_1_, VillagerEntity p_212835_2_, long p_212835_3_)
protected void
FarmTask. stop(ServerWorld p_212835_1_, VillagerEntity p_212835_2_, long p_212835_3_)
protected void
FindPotentialJobTask. stop(ServerWorld p_212835_1_, VillagerEntity p_212835_2_, long p_212835_3_)
protected void
GiveHeroGiftsTask. stop(ServerWorld p_212835_1_, VillagerEntity p_212835_2_, long p_212835_3_)
protected void
ShareItemsTask. stop(ServerWorld p_212835_1_, VillagerEntity p_212835_2_, long p_212835_3_)
void
ShowWaresTask. stop(ServerWorld p_212835_1_, VillagerEntity p_212835_2_, long p_212835_3_)
protected void
TradeTask. stop(ServerWorld p_212835_1_, VillagerEntity p_212835_2_, long p_212835_3_)
private java.util.Optional<BlockPos>
CreateBabyVillagerTask. takeVacantBed(ServerWorld p_220479_1_, VillagerEntity p_220479_2_)
private void
GiveHeroGiftsTask. throwGift(VillagerEntity p_220398_1_, LivingEntity p_220398_2_)
private static void
ShareItemsTask. throwHalfStack(VillagerEntity p_220586_0_, java.util.Set<Item> p_220586_1_, LivingEntity p_220586_2_)
protected void
BoneMealCropsTask. tick(ServerWorld p_212833_1_, VillagerEntity p_212833_2_, long p_212833_3_)
protected void
CelebrateRaidVictoryTask. tick(ServerWorld p_212833_1_, VillagerEntity p_212833_2_, long p_212833_3_)
protected void
CreateBabyVillagerTask. tick(ServerWorld p_212833_1_, VillagerEntity p_212833_2_, long p_212833_3_)
protected void
FarmTask. tick(ServerWorld p_212833_1_, VillagerEntity p_212833_2_, long p_212833_3_)
protected void
FindPotentialJobTask. tick(ServerWorld p_212833_1_, VillagerEntity p_212833_2_, long p_212833_3_)
protected void
GiveHeroGiftsTask. tick(ServerWorld p_212833_1_, VillagerEntity p_212833_2_, long p_212833_3_)
protected void
PanicTask. tick(ServerWorld p_212833_1_, VillagerEntity p_212833_2_, long p_212833_3_)
protected void
ShareItemsTask. tick(ServerWorld p_212833_1_, VillagerEntity p_212833_2_, long p_212833_3_)
void
ShowWaresTask. tick(ServerWorld p_212833_1_, VillagerEntity p_212833_2_, long p_212833_3_)
protected void
TradeTask. tick(ServerWorld p_212833_1_, VillagerEntity p_212833_2_, long p_212833_3_)
private boolean
StayNearPointTask. tiredOfTryingToFindTarget(ServerWorld p_223017_1_, VillagerEntity p_223017_2_)
private boolean
StayNearPointTask. tooFar(VillagerEntity p_242304_1_, GlobalPos p_242304_2_)
private void
CreateBabyVillagerTask. tryToGiveBirth(ServerWorld p_223521_1_, VillagerEntity p_223521_2_, VillagerEntity p_223521_3_)
private void
ShowWaresTask. updateDisplayItems(VillagerEntity p_220555_1_)
protected void
FarmerWorkTask. useWorkstation(ServerWorld p_230251_1_, VillagerEntity p_230251_2_)
protected void
SpawnGolemTask. useWorkstation(ServerWorld p_230251_1_, VillagerEntity p_230251_2_)
private void
FindJobTask. yieldJobSite(ServerWorld p_234022_1_, VillagerEntity p_234022_2_, VillagerEntity p_234022_3_, BlockPos p_234022_4_, boolean p_234022_5_)
-
Uses of VillagerEntity in net.minecraft.entity.ai.goal
Fields in net.minecraft.entity.ai.goal declared as VillagerEntity Modifier and Type Field Description private VillagerEntity
ShowVillagerFlowerGoal. villager
Methods in net.minecraft.entity.ai.goal with parameters of type VillagerEntity Modifier and Type Method Description private boolean
PatrolVillageGoal. doesVillagerWantGolem(VillagerEntity p_234028_1_)
-
Uses of VillagerEntity in net.minecraft.entity.merchant.villager
Fields in net.minecraft.entity.merchant.villager with type parameters of type VillagerEntity Modifier and Type Field Description static java.util.Map<MemoryModuleType<GlobalPos>,java.util.function.BiPredicate<VillagerEntity,PointOfInterestType>>
VillagerEntity. POI_MEMORIES
private static com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super VillagerEntity>>>
VillagerEntity. SENSOR_TYPES
Methods in net.minecraft.entity.merchant.villager that return VillagerEntity Modifier and Type Method Description VillagerEntity
VillagerEntity. getBreedOffspring(ServerWorld p_241840_1_, AgeableEntity p_241840_2_)
Methods in net.minecraft.entity.merchant.villager that return types with arguments of type VillagerEntity Modifier and Type Method Description protected Brain.BrainCodec<VillagerEntity>
VillagerEntity. brainProvider()
Brain<VillagerEntity>
VillagerEntity. getBrain()
Methods in net.minecraft.entity.merchant.villager with parameters of type VillagerEntity Modifier and Type Method Description void
VillagerEntity. gossip(ServerWorld p_242368_1_, VillagerEntity p_242368_2_, long p_242368_3_)
Method parameters in net.minecraft.entity.merchant.villager with type arguments of type VillagerEntity Modifier and Type Method Description private void
VillagerEntity. registerBrainGoals(Brain<VillagerEntity> p_213744_1_)
Constructor parameters in net.minecraft.entity.merchant.villager with type arguments of type VillagerEntity Constructor Description VillagerEntity(EntityType<? extends VillagerEntity> p_i50182_1_, World p_i50182_2_)
VillagerEntity(EntityType<? extends VillagerEntity> p_i50183_1_, World p_i50183_2_, VillagerType p_i50183_3_)
-