Class SpellTier
java.lang.Object
com.binaris.wizardry.api.content.spell.SpellTier
- Direct Known Subclasses:
AdvancedTier,ApprenticeTier,MasterTier,NoviceTier
-
Constructor Summary
ConstructorsConstructorDescriptionSpellTier(int maxCharge, int upgradeLimit, int weight, int level, net.minecraft.ChatFormatting color, int progression) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.ChatFormattinggetColor()net.minecraft.network.chat.ComponentintgetLevel()net.minecraft.resources.ResourceLocationintprotected String@Nullable net.minecraft.resources.ResourceLocationintintintstatic SpellTiergetWeightedRandomTier(net.minecraft.util.RandomSource random, SpellTier... tiers) final booleanis(net.minecraft.resources.ResourceLocation location) next()previous()voidsetLocation(net.minecraft.resources.ResourceLocation location) toString()
-
Constructor Details
-
SpellTier
public SpellTier(int maxCharge, int upgradeLimit, int weight, int level, net.minecraft.ChatFormatting color, int progression)
-
-
Method Details
-
getWeightedRandomTier
-
next
-
previous
-
getDescriptionFormatted
public net.minecraft.network.chat.Component getDescriptionFormatted() -
getOrCreateDescriptionId
-
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
-
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()
-