package sourcecoded.quantum.discovery.item; import net.minecraft.item.ItemStack; import net.minecraft.util.ResourceLocation; import sourcecoded.quantum.Constants; import sourcecoded.quantum.api.discovery.DiscoveryItem; import sourcecoded.quantum.api.discovery.DiscoveryPage; import sourcecoded.quantum.api.injection.InjectorRegistry; import sourcecoded.quantum.api.vacuum.VacuumRegistry; import sourcecoded.quantum.discovery.QADiscoveries; import sourcecoded.quantum.registry.QABlocks; public class DItemBlockManipulation extends DiscoveryItem { public DItemBlockManipulation() { super("QA|Manipulation"); this.displayStack = new ItemStack(QABlocks.MANIPULATION_STANDARD.getBlock()); this.x = 140; this.y = 130; this.setHiddenByDefault(false); this.setUnlockedByDefault(false); this.setSpecial(false); this.addParent(QADiscoveries.Item.VACUUM.get().getKey()); this.addParent(QADiscoveries.Item.JEWEL_CHARGED.get().getKey()); this.addParent(QADiscoveries.Item.CHAOS.get().getKey()); this.addPage(new DiscoveryPage(this.getUnlocalizedName(), this.getPrefixKey() + ".page.0")); this.addPage(new DiscoveryPage(this.getUnlocalizedName(), this.getPrefixKey() + ".page.1")); this.addPage(new DiscoveryPage(this.getUnlocalizedName(), this.getPrefixKey() + ".page.2")); this.addPage(new DiscoveryPage(this.getUnlocalizedName(), VacuumRegistry.getRecipeForOutput(displayStack))); } }