package sourcecoded.quantum.discovery.item; import net.minecraft.item.ItemStack; import sourcecoded.quantum.api.arrangement.ArrangementRegistry; import sourcecoded.quantum.api.discovery.DiscoveryItem; import sourcecoded.quantum.api.discovery.DiscoveryPage; import sourcecoded.quantum.api.injection.InjectorRegistry; import sourcecoded.quantum.discovery.QADiscoveries; import sourcecoded.quantum.registry.QAItems; public class DItemJewelCharged extends DiscoveryItem { public DItemJewelCharged() { super("QA|JewelCharged"); this.displayStack = new ItemStack(QAItems.OBSIDIAN_JEWEL.getItem(), 1, 1); this.x = 100; this.y = 40; this.setHiddenByDefault(false); this.setUnlockedByDefault(false); this.setSpecial(true); this.addParent(QADiscoveries.Item.JEWEL.get().getKey()); this.addPage(new DiscoveryPage(this.getUnlocalizedName(), this.getPrefixKey() + ".page.0")); this.addPage(new DiscoveryPage(this.getUnlocalizedName(), InjectorRegistry.getRecipeForOutput(displayStack))); this.addPage(new DiscoveryPage(this.getUnlocalizedName(), this.getPrefixKey() + ".page.1")); } }