| Package | Description |
|---|---|
| com.destroystokyo.paper.entity.ai | |
| io.papermc.paper.event.player | |
| 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 and Description |
|---|---|
static GoalKey<AbstractVillager> |
VanillaGoal.LOOK_AT_TRADING_PLAYER |
static GoalKey<AbstractVillager> |
VanillaGoal.TRADE_WITH_PLAYER |
| Modifier and Type | Method and Description |
|---|---|
@NotNull AbstractVillager |
PlayerTradeEvent.getVillager()
Gets the Villager or Wandering trader associated with this event
|
| Constructor and Description |
|---|
PlayerTradeEvent(@NotNull Player player,
@NotNull AbstractVillager villager,
@NotNull MerchantRecipe trade,
boolean rewardExp,
boolean increaseTradeUses) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Villager
Represents a villager NPC
|
interface |
WanderingTrader
Represents a wandering trader NPC
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull AbstractVillager |
VillagerReplenishTradeEvent.getEntity() |
@NotNull AbstractVillager |
VillagerAcquireTradeEvent.getEntity() |
| Constructor and Description |
|---|
VillagerAcquireTradeEvent(@NotNull AbstractVillager what,
@NotNull MerchantRecipe recipe) |
VillagerReplenishTradeEvent(@NotNull AbstractVillager what,
@NotNull MerchantRecipe recipe,
int bonus) |
Copyright © 2021. All rights reserved.