Credits goes out to Kindlich for writing most of the Custom Content implementation!

Implementation Syntax:

Link to implementation-syntax

Copy
Examples:
mods.compatskills.SkillCreator.createSkill(String name, String backGroundLocation)
mods.compatskills.SkillCreator.createNewSkill(String nameLocation, String backGroundLocation)

"createSkill" auto-assigns the CompatSkills ModID to the Name Resource Location.
So for example:
mods.compatskills.SkillCreator.createSkill("banana", "textures/blocks/stonebrick.png");

Would internally return:
"compatskills:banana" as the resource location name for the skill.

The second one has no assigned ModID meaning you can insert your own.
mods.compatskills.SkillCreator.createNewSkill("pokemon:throwing", "textures/blocks/stonebrick.png")
ReferenceProperty NameImplementation
Reference
CrTSkill
Property Name
name
Implementation
See Below
Copy
// Creates the skill as a variable
var banana = mods.compatskills.SkillCreator.createSkill("banana", "textures/blocks/stonebrick.png");

// Hard-Sets the name to "Banana"
// Be aware this makes localization through .lang files not possible!
banana.name = "Banana"

ZenSetters/ZenGetters

Link to zensetterszengetters

Method TypeMethod NameValues
Method Type
Setter
Method Name
setLevelCap
Values
Takes an Integer
Method Type
Getter
Method Name
getLevelCap
Values
Returns an Integer
Method Type
Setter
Method Name
setEnabled
Values
Takes an Boolean
Method Type
Getter
Method Name
getEnabled
Values
Returns an Boolean
Method Type
Setter
Method Name
setSkillPointInterval
Values
Takes an Integer
Method Type
Setter
Method Name
setBaseLevelCost
Values
Takes an Integer
Method Type
Getter
Method Name
getBaseLevelCost
Values
Returns an Integer
Method Type
Getter
Method Name
getName
Values
Returns the localized String Name
Method Type
Setter
Method Name
setLevelStaggering
Values
Takes a String[], See Config for Example
Method Type
Getter
Method Name
getLevelStaggering
Values
Returns a String[]
Method Type
Setter
Method Name
setHidden
Values
Takes a Boolean
Method Type
Getter
Method Name
isHidden
Values
Returns a Boolean

Localization & Resource Location References:

Link to localization--resource-location-references

Copy
Skill Icons:

Either:
- mods.compatskills.SkillCreator.createSkill(String name, String backGroundLocation);
	- compatskills:textures/skills/skillname.png

- mods.compatskills.SkillCreator.createNewSkill(String nameLocation, String backGroundLocation);
	- customResourceLocation:/textures/skills/skillname.png


Localizations are placed in:
- compatskills:lang/localeCode.lang

or

- customResourceLocation:lang/localeCode.lang

Go to this link to see all possible Locale-Codes! The Minecraft Wiki's Language Page