Add ruined spell book item (usage will be added later)

This commit is contained in:
Electroblob77
2020-09-06 23:24:36 +01:00
parent e147ce5d37
commit ac14c8f931
8 changed files with 17 additions and 0 deletions
@@ -257,6 +257,7 @@ public class BlockBookshelf extends BlockHorizontal implements ITileEntityProvid
registerBookModelTexture(() -> WizardryItems.spell_book, new ResourceLocation(Wizardry.MODID, "blocks/books_red"));
registerBookModelTexture(() -> WizardryItems.wizard_handbook, new ResourceLocation(Wizardry.MODID, "blocks/books_blue"));
registerBookModelTexture(() -> WizardryItems.arcane_tome, new ResourceLocation(Wizardry.MODID, "blocks/books_purple"));
registerBookModelTexture(() -> WizardryItems.ruined_spell_book, new ResourceLocation(Wizardry.MODID, "blocks/books_brown"));
registerBookModelTexture(() -> WizardryItems.scroll, new ResourceLocation(Wizardry.MODID, "blocks/scrolls_blue"));
registerBookModelTexture(() -> WizardryItems.blank_scroll, new ResourceLocation(Wizardry.MODID, "blocks/scrolls_blue"));
registerBookModelTexture(() -> WizardryItems.identification_scroll, new ResourceLocation(Wizardry.MODID, "blocks/scrolls_purple"));
@@ -73,6 +73,7 @@ public class WizardryJEIPlugin implements IModPlugin {
addItemInfo(registry, WizardryItems.armour_upgrade, ".desc_extended");
addItemInfo(registry, WizardryItems.purifying_elixir, ".desc_extended");
addItemInfo(registry, WizardryItems.astral_diamond);
addItemInfo(registry, WizardryItems.ruined_spell_book);
for(Item item : Item.REGISTRY){
@@ -129,6 +129,7 @@ public class ContainerBookshelf extends Container {
registerBookItem(WizardryItems.spell_book);
registerBookItem(WizardryItems.arcane_tome);
registerBookItem(WizardryItems.wizard_handbook);
registerBookItem(WizardryItems.ruined_spell_book);
registerBookItem(WizardryItems.scroll);
registerBookItem(WizardryItems.blank_scroll);
registerBookItem(WizardryItems.identification_scroll);
@@ -91,6 +91,7 @@ public final class WizardryItems {
public static final Item arcane_tome = placeholder();
public static final Item spell_book = placeholder();
public static final Item scroll = placeholder();
public static final Item ruined_spell_book = placeholder();
public static final Item magic_wand = placeholder();
public static final Item apprentice_wand = placeholder();
@@ -454,6 +455,7 @@ public final class WizardryItems {
registerItem(registry, "arcane_tome", new ItemArcaneTome());
registerItem(registry, "spell_book", new ItemSpellBook(), true);
registerItem(registry, "scroll", new ItemScroll());
registerItem(registry, "ruined_spell_book", new Item().setCreativeTab(WizardryTabs.WIZARDRY));
registerItem(registry, "magic_wand", new ItemWand(Tier.NOVICE, null));
registerItem(registry, "apprentice_wand", new ItemWand(Tier.APPRENTICE, null));