Class FusionPlayer

java.lang.Object
studio.magemonkey.fusion.data.player.FusionPlayer

public class FusionPlayer extends Object
  • Constructor Details

    • FusionPlayer

      public FusionPlayer(UUID uuid)
  • Method Details

    • getPlayer

      public org.bukkit.entity.Player getPlayer()
    • getQueue

      public CraftingQueue getQueue(String profession, Category category)
    • getRecipeLimit

      public PlayerRecipeLimit getRecipeLimit(Recipe recipe)
    • getRecipeLimit

      public PlayerRecipeLimit getRecipeLimit(String recipePath)
    • incrementLimit

      public void incrementLimit(Recipe recipe)
    • hasRecipeLimitReached

      public boolean hasRecipeLimitReached(Recipe recipe)
    • getExperience

      public long getExperience(String profession)
    • getExperience

      public long getExperience(Profession profession)
    • getExperience

      public long getExperience(CraftingTable table)
    • getLevel

      public int getLevel(String profession)
    • getLevel

      public int getLevel(Profession profession)
    • getLevel

      public int getLevel(CraftingTable table)
    • getProfession

      @Nullable public @Nullable Profession getProfession(String profession)
    • getProfession

      @Nullable public @Nullable Profession getProfession(CraftingTable table)
    • removeProfession

      public void removeProfession(String profession)
    • removeProfession

      public void removeProfession(Profession profession)
    • removeProfession

      public void removeProfession(CraftingTable table)
    • addProfession

      public void addProfession(Profession profession)
    • hasProfession

      public boolean hasProfession(String profession)
    • hasProfession

      public boolean hasProfession(Profession profession)
    • hasProfession

      public boolean hasProfession(CraftingTable table)
    • getJoinedProfessions

      public Collection<Profession> getJoinedProfessions()
    • getMasteredProfessions

      public Collection<Profession> getMasteredProfessions()
    • getProfessions

      public Collection<Profession> getProfessions()
    • hasMastered

      public boolean hasMastered(String profession)
    • hasMastered

      public boolean hasMastered(Profession profession)
    • hasMastered

      public boolean hasMastered(CraftingTable table)
    • hasJoined

      public boolean hasJoined(String profession)
    • hasJoined

      public boolean hasJoined(Profession profession)
    • hasJoined

      public boolean hasJoined(CraftingTable table)
    • setMastered

      public void setMastered(String profession, boolean mastered)
    • setMastered

      public void setMastered(Profession profession, boolean mastered)
    • setMastered

      public void setMastered(CraftingTable table, boolean mastered)
    • setJoined

      public void setJoined(String profession, boolean joined)
    • setJoined

      public void setJoined(Profession profession, boolean joined)
    • setJoined

      public void setJoined(CraftingTable table, boolean joined)
    • addExperience

      public void addExperience(String profession, long experience)
    • addExp

      public void addExp(Profession profession, long experience)
    • addExp

      public void addExp(CraftingTable table, long experience)
    • setExperience

      public void setExperience(String profession, long experience)
    • setExp

      public void setExp(Profession profession, long experience)
    • setExp

      public void setExp(CraftingTable table, long experience)
    • removeExperience

      public void removeExperience(String profession, long experience)
    • removeExp

      public void removeExp(Profession profession, long experience)
    • removeExp

      public void removeExp(CraftingTable table, long experience)
    • resetExperience

      public void resetExperience(String profession)
    • resetExp

      public void resetExp(Profession profession)
    • resetExp

      public void resetExp(CraftingTable table)
    • resetMastered

      public void resetMastered(String profession)
    • resetMastered

      public void resetMastered(Profession profession)
    • resetMastered

      public void resetMastered(CraftingTable table)
    • resetJoined

      public void resetJoined(String profession)
    • resetJoined

      public void resetJoined(Profession profession)
    • resetJoined

      public void resetJoined(CraftingTable table)
    • reset

      public void reset(String profession)
    • reset

      public void reset(Profession profession)
    • reset

      public void reset(CraftingTable table)
    • getQueueSizes

      public int[] getQueueSizes(String profession, Category category)
    • getFinishedSize

      public int getFinishedSize()
    • save

      public void save()
    • save

      public void save(boolean clearCaches)