Jump to content

Recommended Posts

Posted

ModelLoader is client side only and cannot be in common code.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted
22 minutes ago, XxPowerEyexX said:

im sorry but where are you seeing this? i cant seem to find it

Seeing what? ModelLoader being client side only?

 

import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraftforge.client.model.ModelLoader;

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted (edited)
46 minutes ago, BENM888GAMING said:

I recommend you to program with mrcrayfishes way:

this is the best way without problems

No. No it's not. MrCrayfish's tutorials are good, but OUTDATED. Now I see why so many people comes on this forum with the exact same problems and blindly ask for help not understanding a single thing about modding.

Edited by MrBendelScrolls
Posted
22 minutes ago, XxPowerEyexX said:

ok so im calling the model loader on the client side when it can only be server side? is that right or do i have that reversed? and how would i tell it to do the other side then?

\/

1 hour ago, Draco18s said:

ModelLoader is client side only and cannot be in common code.

 

Posted (edited)
5 minutes ago, BENM888GAMING said:

the 1.9 video works aswell for the 1.10

just in the first video of 1.9 install the 1.10 mdk

Yeah, well, 1.12 changed a lot o' shit compared to 1.9. Like, everything.

 

1.9 and 1.10 were fairly close, but 1.11 changed how items and blocks are registered, and 1.12 changed recipes and achievements.

Edited by Draco18s

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted
23 hours ago, diesieben07 said:

MrCrayfish's tutorials always receive oh so much praise, but the way he does things is mostly terrible, overly clunky ("oh look at me, I am writing such clean and elegant code!" - "No, your code is needlessly convoluted and you are abstracting things that don't need abstraction.") and, most importantly, wrong.

I am just going to pick out the item model registration here, since that's what this thread is about, but I am sure there is other stuff in his tutorials I could find, that are blatantly wrong.

 

  • He is just stuffing references to client-only code into common classes. While this mostly works, it is bad practice and especially in a tutorial environment, where you are supposed to promote best practices and explain things, this is bad. He is missing the point entirely about explaining "hey guys, this is what the proxy classes we created earlier are for, because look, this class here has a @SideOnly annotation, so we can only ever interact with it from client-only code, so it must happen in our client proxy". No, he does none of that.
  • Even in his (apparently latest?) tutorial series for 1.9 he is still using the old and outdated ItemModelMesher to register the models. This has been outdated since February 2015, almost 1 1/2 years before that video was released.
  • Edit: Continued watching for a few more seconds, I hear "item.getUnlocalizedName().subst..." - You gotta be fu**ing kidding me. Seriously. Please stop watching this dude.

 

I could go on.

so what would you recommend? would you be able to point me in the right direction?

Posted

 

1 minute ago, BENM888GAMING said:
2 minutes ago, XxPowerEyexX said:
23 hours ago, diesieben07 said:

MrCrayfish's tutorials ... are blatantly wrong.

so what would you recommend? would you be able to point me in the right direction?

MrCrayfish.

 

Bravo.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

I'm not up on the status of various tutorials. I generally do things on my own and ask for help here. Occasionally I hit up Choonster's github for things I know he's already done.

https://github.com/Choonster-Minecraft-Mods/TestMod3/

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I tried do download the essential mod to my mod pack but i didnt work. I paly on 1.21 and it should work. I use neoforge for my modding. The weird things is my friend somehow added the mod to his modpack and many others that I somehow can´t. Is there anything i can do? 
    • Thanks, I've now installed a slightly newer version and the server is at least starting up now.
    • i have the same issue. Found 1 Create mod class dependency(ies) in createdeco-1.3.3-1.19.2.jar, which are missing from the current create-1.19.2-0.5.1.i.jar Found 11 Create mod class dependency(ies) in createaddition-fabric+1.19.2-20230723a.jar, which are missing from the current create-1.19.2-0.5.1.i.jar Detailed walkthrough of mods which rely on missing Create mod classes: Mod: createaddition-fabric+1.19.2-20230723a.jar Missing classes of create: com/simibubi/create/compat/jei/category/sequencedAssembly/JeiSequencedAssemblySubCategory com/simibubi/create/compat/recipeViewerCommon/SequencedAssemblySubCategoryType com/simibubi/create/compat/rei/CreateREI com/simibubi/create/compat/rei/EmptyBackground com/simibubi/create/compat/rei/ItemIcon com/simibubi/create/compat/rei/category/CreateRecipeCategory com/simibubi/create/compat/rei/category/WidgetUtil com/simibubi/create/compat/rei/category/animations/AnimatedBlazeBurner com/simibubi/create/compat/rei/category/animations/AnimatedKinetics com/simibubi/create/compat/rei/category/sequencedAssembly/ReiSequencedAssemblySubCategory com/simibubi/create/compat/rei/display/CreateDisplay Mod: createdeco-1.3.3-1.19.2.jar Missing classes of create: com/simibubi/create/content/kinetics/fan/SplashingRecipe
    • The crash points to moonlight lib - try other builds or make a test without this mod and the mods requiring it
    • Do you have shaders enabled? There is an issue with the mod simpleclouds - remove this mod or disable shaders, if enabled  
  • Topics

×
×
  • Create New...

Important Information

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