Uses of Interface
org.bukkit.entity.Villager.ReputationEvent
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.-
Uses of Villager.ReputationEvent in org.bukkit
-
Uses of Villager.ReputationEvent in org.bukkit.entity
Modifier and TypeFieldDescriptionstatic final Villager.ReputationEvent
Villager.ReputationEvent.DECAY
Reputation decayed over time.static final Villager.ReputationEvent
Villager.ReputationEvent.GOLEM_KILLED
Village's iron golem was killed by an entity.static final Villager.ReputationEvent
Villager.ReputationEvent.GOSSIP
A villager gossiped with another villager.static final Villager.ReputationEvent
Villager.ReputationEvent.TRADE
A player traded with a villager.static final Villager.ReputationEvent
Villager.ReputationEvent.UNSPECIFIED
Unspecified reason.static final Villager.ReputationEvent
Villager.ReputationEvent.VILLAGER_HURT
A villager was hurt by an entity.static final Villager.ReputationEvent
Villager.ReputationEvent.VILLAGER_KILLED
A villager was killed by an entity.static final Villager.ReputationEvent
Villager.ReputationEvent.ZOMBIE_VILLAGER_CURED
A villager was cured by a player.Modifier and TypeMethodDescriptionvoid
Villager.addReputation
(UUID uuid, Villager.ReputationType reputationType, int amount, Villager.ReputationEvent changeReason) Add reputation of a given type towards a given entity, with a specific change reason.void
Villager.removeReputation
(UUID uuid, Villager.ReputationType reputationType, int amount, Villager.ReputationEvent changeReason) Remove reputation of a given type towards a given entity, with a specific change reason.void
Villager.setReputation
(UUID uuid, Villager.ReputationType reputationType, int amount, Villager.ReputationEvent changeReason) Set reputation of a given type towards a given entity, with a specific change reason. -
Uses of Villager.ReputationEvent in org.bukkit.event.entity
Modifier and TypeMethodDescriptionVillagerReputationChangeEvent.getReason()
Get the reason of this reputation change.ModifierConstructorDescriptionVillagerReputationChangeEvent
(Villager villager, UUID targetUUID, Villager.ReputationEvent reason, Villager.ReputationType reputationType, int oldValue, int newValue, int maxValue)