Uses of Class
net.minecraft.world.entity.npc.AbstractVillager
Package
Description
-
Uses of AbstractVillager in net.minecraft.advancements.critereon
Modifier and TypeMethodDescriptionvoid
TradeTrigger.trigger
(ServerPlayer p_70960_, AbstractVillager p_70961_, ItemStack p_70962_) -
Uses of AbstractVillager in net.minecraft.world.entity.ai.goal
Modifier and TypeFieldDescriptionprivate final AbstractVillager
TradeWithPlayerGoal.mob
private final AbstractVillager
LookAtTradingPlayerGoal.villager
ModifierConstructorDescriptionLookAtTradingPlayerGoal
(AbstractVillager p_25538_) TradeWithPlayerGoal
(AbstractVillager p_25958_) -
Uses of AbstractVillager in net.minecraft.world.entity.npc
ModifierConstructorDescriptionAbstractVillager
(EntityType<? extends AbstractVillager> p_35267_, Level p_35268_) -
Uses of AbstractVillager in net.neoforged.neoforge.event.entity.player
Modifier and TypeFieldDescriptionprivate final AbstractVillager
TradeWithVillagerEvent.abstractVillager
Modifier and TypeMethodDescriptionTradeWithVillagerEvent.getAbstractVillager()
Returns the villager the player traded with.ModifierConstructorDescriptionTradeWithVillagerEvent
(Player player, MerchantOffer offer, AbstractVillager abstractVillager)