Class SkillProvider.Builder
java.lang.Object
com.github.minecraftschurlimods.arsmagicalegacy.api.data.SkillProvider.Builder
- Enclosing class:
- SkillProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCost(SkillPoint point) Adds a learning cost to this skill.addCost(SkillPoint point, int amount) Adds a learning cost to this skill.addCost(net.minecraft.resources.ResourceLocation point) Adds a learning cost to this skill.addCost(net.minecraft.resources.ResourceLocation point, int amount) Adds a learning cost to this skill.addParent(net.minecraft.resources.ResourceLocation parent) Adds a parent skill that must be learned first.build()Sets this skill's hidden property to true.
-
Constructor Details
-
Builder
public Builder(net.minecraft.resources.ResourceLocation occulusTab, int x, int y)
-
-
Method Details
-
setHidden
Sets this skill's hidden property to true. -
addCost
Adds a learning cost to this skill.- Parameters:
point- The id of the skill point the skill should cost.amount- The amount of skill points the skill should cost.
-
addCost
Adds a learning cost to this skill.- Parameters:
point- The skill point the skill should cost.amount- The amount of skill points the skill should cost.
-
addCost
Adds a learning cost to this skill.- Parameters:
point- The skill point the skill should cost.
-
addCost
Adds a learning cost to this skill.- Parameters:
point- The skill point the skill should cost.
-
addParent
Adds a parent skill that must be learned first.- Parameters:
parent- The id of the parent skill to add.
-
build
-