JEITweaker
Description
This mod adds CraftTweaker support to JEI. CraftTweaker used to support JEI natively, but due to the 1.14 rewrite, the JEI support is being pulled out into it’s own mod.
Package
mods.jei.JEI
Adding Items
The following script will add a new Item to JEI which will be a Diamond with the name “Super Diamond” and be enchanted with Knockback 5.
Item Hiding
The following script will hide Dirt from JEI when looking at the item list.
Fluid Hiding
The following script will hide Lava from JEI when looking at the item list, this is just the actual Fluid, and not the Bucket Item or other Items that have the Fluid (like a Tank)
Mod Hiding
The following script will hide all the Items added by “minecraft”, except for Stone from the item list.
Regex Hiding
The following script will hide all the Items that have stone
in their name from the item list.
Category Hiding
The following script will hide the Furnace category from JEI. It is essentially hiding all the recipes in the category.
The default categories are:
Mods can add more categories though, so be sure to do /ct dump jeiCategories
to get a full list of them!
Recipe Hiding
The following script will hide the Oak Boat recipe from the Crafting category. This will not remove the recipe, it will just hide it.
Add Info
The following script will add any custom information to an Item or a Fluid when looking at their usages in JEI.
Item Info
The following script will add three lines to the JEI Information tab when looking at a Diamond.
The code above will produce:
Fluid Info
Adding Fluid Info is very similar to adding Item Info, the only difference is that the Fluid has a size.
Using <fluid:minecraft:water>
will show a single layer of Water in JEI. Using <fluid:minecraft:water> * 1000
will show a full block worth of Water in JEI.
The following script will add three lines to the JEI Information tab when looking at Water and the Water will show as a full block.