Skip to content

Instantly share code, notes, and snippets.

@kindlich
Created November 15, 2017 20:09
Show Gist options
  • Save kindlich/e0cc3e6722f7e8302c381ac914d377aa to your computer and use it in GitHub Desktop.
Save kindlich/e0cc3e6722f7e8302c381ac914d377aa to your computer and use it in GitHub Desktop.
JEI Description changes test script
import mods.jei.JEI;
JEI.addDescription(<minecraft:dirt>, "HI", "1");
JEI.addDescription([<minecraft:gold_ingot>,<minecraft:iron_ingot>], "Ingots can be used to craft things.","","Things like armor!");
val ore = <ore:things>;
ore.add(<minecraft:diamond>);
ore.add(<minecraft:water_bucket>);
JEI.addDescription(ore, "Random stuff");
JEI.addDescription(<ore:moreThings>, "more random stuff","that shouldn't be added","as the oreDict is empty");
JEI.addDescription(<minecraft:lava_bucket>,1,2,3,4,5);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment