Class SpellTier

java.lang.Object
com.binaris.wizardry.api.content.spell.SpellTier
Direct Known Subclasses:
AdvancedTier, ApprenticeTier, MasterTier, NoviceTier

public class SpellTier extends Object
  • Constructor Details

    • SpellTier

      public SpellTier(int maxCharge, int upgradeLimit, int weight, int level, net.minecraft.ChatFormatting color, int progression)
  • Method Details

    • getWeightedRandomTier

      public static SpellTier getWeightedRandomTier(net.minecraft.util.RandomSource random, SpellTier... tiers)
    • next

      public SpellTier next()
    • previous

      public SpellTier previous()
    • getDescriptionFormatted

      public net.minecraft.network.chat.Component getDescriptionFormatted()
    • getOrCreateDescriptionId

      protected String getOrCreateDescriptionId()
    • getDescriptionId

      public String getDescriptionId()
    • getOrCreateLocation

      @Nullable public @Nullable net.minecraft.resources.ResourceLocation getOrCreateLocation()
    • getLocation

      public net.minecraft.resources.ResourceLocation getLocation()
    • setLocation

      public void setLocation(net.minecraft.resources.ResourceLocation location)
    • is

      public final boolean is(net.minecraft.resources.ResourceLocation location)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getColor

      public net.minecraft.ChatFormatting getColor()
    • getLevel

      public int getLevel()
    • getMaxCharge

      public int getMaxCharge()
    • getUpgradeLimit

      public int getUpgradeLimit()
    • getWeight

      public int getWeight()
    • getProgression

      public int getProgression()