| Package | Description |
|---|---|
| com.destroystokyo.paper.entity.ai | |
| org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc. |
| org.bukkit.event.entity |
| Modifier and Type | Field | Description |
|---|---|---|
static GoalKey<AbstractVillager> |
VanillaGoal.LOOK_AT_TRADING_PLAYER |
|
static GoalKey<AbstractVillager> |
VanillaGoal.TRADE_WITH_PLAYER |
| Modifier and Type | Interface | Description |
|---|---|---|
interface |
Villager |
Represents a villager NPC
|
interface |
WanderingTrader |
Represents a wandering trader NPC
|
| Modifier and Type | Method | Description |
|---|---|---|
@NotNull AbstractVillager |
VillagerAcquireTradeEvent.getEntity() |
|
@NotNull AbstractVillager |
VillagerReplenishTradeEvent.getEntity() |
| Constructor | Description |
|---|---|
VillagerAcquireTradeEvent(@NotNull AbstractVillager what,
@NotNull MerchantRecipe recipe) |
|
VillagerReplenishTradeEvent(@NotNull AbstractVillager what,
@NotNull MerchantRecipe recipe,
int bonus) |
Copyright © 2020. All rights reserved.