classpublicPriority 1
ReputationPlugin
com.hypixel.hytale.builtin.adventure.reputation.ReputationPlugin
extends JavaPlugin
14
Methods
14
Public Methods
6
Fields
1
Constructors
Constants
intNO_REPUTATION_GROUP= -2147483648
Constructors
public
ReputationPlugin(JavaPluginInit init)Methods
Public Methods (14)
public
int changeReputation(Player player, Ref<EntityStore> npcRef, int value, ComponentAccessor<EntityStore> componentAccessor)public
int changeReputation(Player player, String reputationGroupId, int value, ComponentAccessor<EntityStore> componentAccessor)public
int changeReputation(World world, String reputationGroupId, int value)public
Attitude getAttitude(Store<EntityStore> store, Ref<EntityStore> ref, Ref<EntityStore> npc)@Nullable
public
Attitude getAttitude(Store<EntityStore> store, Ref<EntityStore> npcRef)@Nullable
public
ComponentType<EntityStore, ReputationGroupComponent> getReputationGroupComponentType()public
ReputationRank getReputationRank(Store<EntityStore> store, Ref<EntityStore> ref, Ref<EntityStore> npcRef)@Nullable
public
ReputationRank getReputationRank(Store<EntityStore> store, Ref<EntityStore> ref, String reputationGroupId)@Nullable
public
ReputationRank getReputationRank(Store<EntityStore> store, Ref<EntityStore> npcRef)@Nullable
public
ReputationRank getReputationRankFromValue(int value)@Nullable
public
int getReputationValue(Store<EntityStore> store, Ref<EntityStore> playerEntityRef, Ref<EntityStore> npcEntityRef)public
int getReputationValue(Store<EntityStore> store, Ref<EntityStore> playerEntityRef, String reputationGroupId)public
int getReputationValue(Store<EntityStore> store, Ref<EntityStore> npcRef)public
int getReputationValue(Store<EntityStore> store, String reputationGroupId)Fields
Private/Package Fields (6)
private
ReputationPlugin instanceprivate
int maxReputationValueprivate
int minReputationValueprivate
ResourceType<EntityStore, ReputationDataResource> reputationDataResourceTypeprivate
ComponentType<EntityStore, ReputationGroupComponent> reputationGroupComponentTypeprivate
List<ReputationRank> reputationRanks