Jump to content

scifiaholic

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by scifiaholic

  1. @FledgeXu Hey, I followed your tutorial to the end of 3.1, however when I run my code I don't see the obsidian ingot in the miscellaneous tab. I did a search for "ingot" and "obsidian" to see if they maybe were in another tab, but found nothing. I tried looking at your source code to see any differences in the code I had from your tutorial, and well there are a lot of differences. 1) First off the neutrino class doesn't exist in your source. Nor do the references made in that class exist elsewhere. I don't understand what the neutrino class even is really in relation to the obsidian ingot. 2) Next I expected the source code at the end of 3.1 to be snapshots showing what I should have at the end of this segment of the tutorial. Instead your source code link takes me to everything for the entire tutorial, start to finish. That makes it near impossible for a new guy like me to read and find my errors or differences. Could you go back and follow your own tutorial to make these end of lesson snapshot files so I have something to go off of here, with my missing obsidian ingot item? I have attached my code snapshot files from the end of following your tutorial through 3.1 for reference. Maybe that will help you spot something I missed in your tutorial that you could maybe add more emphasis on, if that helps. Thanks so much for your very hard work! It is invaluable to me! Section 3.1 code snapshot.zip ::EDIT:: I tried working backwards from your complete Source code. I was able to see the obsidian ingot. Then I tried deleting everything that wasn't in the tutorial up through 3.1. The big difference I found is that the registry code found in the tutorials Neutrino class was actually was included in the constructor for the Boson class instead, and broken into two lines. See the code snippet below. I have attached the 3.1 snapshot I was talking about... hope this helps the next person. Section 3.1 snapshot.zip. public class Boson { public Boson() { IEventBus eventBus = FMLJavaModLoadingContext.get().getModEventBus(); com.tutorial.boson.first_item.ItemRegistry.ITEMS.register(eventBus); } }
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.