Cadiboo / Example-Mod

An example mod created to try and get new modders to use good code practices
GNU Lesser General Public License v3.0
194 stars 41 forks source link

Will the Modding Tutorials be updated in the future? #27

Open pupymk1 opened 3 years ago

pupymk1 commented 3 years ago

I really appreciate Cadiboo made the example mode and tutorial, but this project hasn't been updated for a year by now. Just asking if we can see the full tutorial one day for me and all the noobs.

uriahshonor commented 3 years ago

In your tutorial on examplemod 1.15 in creating the first item. I created the types, but get a type not defined error on ResourceLocation in the lines

return setup(entry, new ResourceLocation(ExampleMod.MODID, name))

I came here looking for an example, but do not see any similar code

pupymk1 commented 3 years ago

In your tutorial on examplemod 1.15 in creating the first item. I created the types, but get a type not defined error on ResourceLocation in the lines

return setup(entry, new ResourceLocation(ExampleMod.MODID, name))

I came here looking for an example, but do not see any similar code

Registering in event.getRegistry().registerAll() is actully out of date, but it should still work. Make your own thread and post the related codes you wrote maybe someone can help. Or you can use the DeferredRegister<T extends IForgeRegistryEntry<T>> which will register objects when register event is fired. In this way the use of event is actually hidden which makes it easier to code. You can find the codes in the project where we are right now.

Cadiboo commented 2 years ago

I know I'm a year and a half late but yes, the tutorials will be updated - likely for 1.19 or 1.20

pupymk1 commented 2 years ago

I know I'm a year and a half late but yes, the tutorials will be updated - likely for 1.19 or 1.20

Wow, that's great! I'm so excited you are back.