Uses of Interface
org.bukkit.entity.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
-
Uses of Villager.ReputationType in org.bukkit.entity
Modifier 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.Modifier 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
Modifier and TypeMethodDescriptionVillagerReputationChangeEvent.getReputationType()
Get the type of changed reputation.ModifierConstructorDescriptionVillagerReputationChangeEvent
(Villager villager, UUID targetUUID, Villager.ReputationEvent reason, Villager.ReputationType reputationType, int oldValue, int newValue, int maxValue)