Uses of Interface
org.bukkit.entity.Villager.ReputationType
Packages that use Villager.ReputationType
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.ReputationType in org.bukkit
Methods in org.bukkit that return Villager.ReputationType -
Uses of Villager.ReputationType in org.bukkit.entity
Fields in org.bukkit.entity declared as Villager.ReputationTypeModifier and TypeFieldDescriptionstatic final Villager.ReputationType
Villager.ReputationType.MAJOR_NEGATIVE
Major negative reputation.static final Villager.ReputationType
Villager.ReputationType.MAJOR_POSITIVE
Major positive reputation.static final Villager.ReputationType
Villager.ReputationType.MINOR_NEGATIVE
Minor negative reputation.static final Villager.ReputationType
Villager.ReputationType.MINOR_POSITIVE
Minor positive reputation.static final Villager.ReputationType
Villager.ReputationType.TRADING
Trading reputation.Methods in org.bukkit.entity with parameters of type Villager.ReputationTypeModifier and TypeMethodDescriptionvoid
Villager.addReputation
(UUID uuid, Villager.ReputationType reputationType, int amount) Add reputation of a given type towards a given entity.void
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.int
Villager.getReputation
(UUID uuid, Villager.ReputationType reputationType) Gets the reputation of an entity for a given type.int
Villager.getWeightedReputation
(UUID uuid, Villager.ReputationType reputationType) Gets the weighted reputation of an entity for a given type.void
Villager.removeReputation
(UUID uuid, Villager.ReputationType reputationType, int amount) Remove reputation of a given type towards a given entity.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) Set reputation of a given type towards a given entity.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.ReputationType in org.bukkit.event.entity
Methods in org.bukkit.event.entity that return Villager.ReputationTypeModifier and TypeMethodDescriptionVillagerReputationChangeEvent.getReputationType()
Get the type of changed reputation.Constructors in org.bukkit.event.entity with parameters of type Villager.ReputationTypeModifierConstructorDescriptionVillagerReputationChangeEvent
(Villager villager, UUID targetUUID, Villager.ReputationEvent reason, Villager.ReputationType reputationType, int oldValue, int newValue, int maxValue)