Skip to content

Instantly share code, notes, and snippets.

@Lanse505
Created March 26, 2018 17:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lanse505/5c38c7249cc70781215c975b15cb110c to your computer and use it in GitHub Desktop.
Save Lanse505/5c38c7249cc70781215c975b15cb110c to your computer and use it in GitHub Desktop.
CompatSkills Changelog
Version: CompatSkills-1.12.2-1.0.0
- Added Crafttweaker Support for Requirement Locking!
- Syntax:
- mods.reskillable.Requirement.addRequirement(IItemStack item, String locked);
- IItemStack is the item being locked!
- The String is the same format as a config lock, and defines what locks the item!
- Example:
- mods.reskillable.Requirement.addRequirement(<minecraft:stick>, "reskillable:mining|7");
- mods.reskillable.Requirement.addRequirement(<minecraft:wooden_pickaxe:*>.withTag({ench: [{lvl: 1 as short, id: 33 as short}]}), "reskillable:mining|5");
- CrT Requirement Locking has Added NBT Support.
- Added GameStages Support!
- Added the ability to use GameStages as Requirements
- https://i.imgur.com/oc2cxxk.png
- Added the ability to create "Dummy Unlockables" that are tied to a gamestage and will unlock it upon purchase
- https://i.imgur.com/KL05IRq.png
- mods.compatskills.GameStageUnlockable.addGameStageUnlockable(String gamestage, String name, int xPos, int yPos, String parentSkill, int skillpointCost, String... requirements);
- mods.compatskills.GameStageUnlockable.addGameStageUnlockable("a", "a", 0, 0, "reskillable:gathering", 3, "stage|test");
- "Dummy Unlockables" needs to have their icon added.
- This is usually done through something like BASE or Resource Loader as well!
- The path is:
- "name" = name of specified in the CrT name
- reskillable/textures/unlockables/name.jpg
- "Dummy Unlockables" needs to have their Name and Descriptions localized manually using .lang files
- This can be accomplished using BASE or Resource Loader!
- Added Immersive Engineering Multiblock Support!
- You can now lock IE Multiblock's Behind Requirements!
- mods.compatskills.IEMultiBlockGate.addGate(String multiblock, String errorMessage, String... requirements);
- mods.compatskills.IEMultiBlockGate.addGate("IE:DieselGenerator", "I'm afraid this is just too complex for an idiot like you!", "reskillable:building|15", "reskillable:magic|7", "stage|test", "adv|minecraft:husbandry/plant_seed");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment