Add a JEI description to the Altar Maker
This commit is contained in:
parent
d9bc1105d8
commit
e6a11c2e4f
|
@ -10,9 +10,12 @@ import WayofTime.bloodmagic.compat.jei.binding.BindingRecipeCategory;
|
|||
import WayofTime.bloodmagic.compat.jei.binding.BindingRecipeHandler;
|
||||
import WayofTime.bloodmagic.compat.jei.binding.BindingRecipeMaker;
|
||||
import WayofTime.bloodmagic.registry.ModBlocks;
|
||||
import WayofTime.bloodmagic.registry.ModItems;
|
||||
import mezz.jei.api.*;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
import java.util.Collections;
|
||||
|
||||
@JEIPlugin
|
||||
public class BloodMagicPlugin implements IModPlugin {
|
||||
|
||||
|
@ -40,6 +43,8 @@ public class BloodMagicPlugin implements IModPlugin {
|
|||
registry.addRecipes(AltarRecipeMaker.getRecipes());
|
||||
registry.addRecipes(BindingRecipeMaker.getRecipes());
|
||||
registry.addRecipes(AlchemyArrayCraftingRecipeMaker.getRecipes());
|
||||
|
||||
registry.addDescription(Collections.singletonList(new ItemStack(ModItems.altarMaker)), "jei.BloodMagic.desc.altarBuilder");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -141,3 +141,5 @@ jei.BloodMagic.recipe.altar=Blood Altar
|
|||
jei.BloodMagic.recipe.binding=Binding Ritual
|
||||
jei.BloodMagic.recipe.requiredLP=LP: %d
|
||||
jei.BloodMagic.recipe.requiredTier=Tier: %d
|
||||
|
||||
jei.BloodMagic.desc.altarBuilder=A creative-only item for use in debugging and testing.\n\nShift + Right click to change the tier to build. Right click an Altar to initiate the build.\n\nBreak an Altar while holding to dismantle it.
|
||||
|
|
Loading…
Reference in a new issue