Class Reputation
java.lang.Object
com.destroystokyo.paper.entity.villager.Reputation
A reputation score for a player on a villager.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getReputation
(ReputationType type) Gets the reputation value for a specificReputationType
.boolean
Gets if a reputation value is currently set for a specificReputationType
.void
setReputation
(ReputationType type, int value) Sets the reputation value for a specificReputationType
.
-
Constructor Details
-
Reputation
public Reputation() -
Reputation
-
-
Method Details
-
getReputation
Gets the reputation value for a specificReputationType
. -
setReputation
Sets the reputation value for a specificReputationType
. -
hasReputationSet
Gets if a reputation value is currently set for a specificReputationType
.
-