Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.7.10]Techne into Forge?


BuddingDev
 Share

Recommended Posts

In Techne: File -> Export -> Java

Name it something intelligent.

Move the file into your source files directories, somewhere intelligent.

Refactor the code so it stops throwing errors (Techne assumes that you plan to put this file in the net.minecraft.client.entities package, which is Wrong with a Capital W, so it throws a ton of errors that are easy to fix, provided you know anything about Java).

Register a new rendering doodad as appropriate for the kind of model you wish to render in your client proxy.

Bam, done

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.

Link to comment
Share on other sites

It depends on what you're trying to render.

 

What are you trying to render?

 

And don't say "a techne model" because that's the visual representation, not what it is.

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.

Link to comment
Share on other sites

Then Maybe I need to clarify and or need to be clarified...

 

I am planning to make a gun that shoots small bullets from it.

Then I was thinking if I could use Techne to make a model for it.

I completed the making and the export step, and solved all errors while moving into Forge.

But my entity (the bullet) dont show up , but still exists. (I saw my test subject creepers die before me.)

 

BTW do you guys need the source code?

Link to comment
Share on other sites

And your client proxy?

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.

Link to comment
Share on other sites

public class ClientProxy extends CommonProxy {

@Override

    public void preInit(FMLPreInitializationEvent e) {

RenderRegistry.RegisterRender(); // Another class in my mod. The problematic line is below:

RenderingRegistry.registerEntityRenderingHandler(EntityTesterBolt.class, new RenderFireball(0));

        super.preInit(e);

    }

 

    @Override

    public void init(FMLInitializationEvent e) {

        super.init(e);

    }

 

    @Override

    public void postInit(FMLPostInitializationEvent e) {

        super.postInit(e);

    }

}

Link to comment
Share on other sites

Aside from having used the main mod file events...

 

RenderingRegistry.registerEntityRenderingHandler(EntityTesterBolt.class, new RenderFireball(0));

 

RenderBolt != RenderFireball

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.

Link to comment
Share on other sites

According to my available code, I need one more parameter to actually render the model from Model Class.

What would that be?

 

(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)

(Entity entity, double x, double y, double z, float u, float v)

f5 is not paired up.

Link to comment
Share on other sites

Try

0.0625F

as that is what I always use as the last parameter when doing models.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

Try

0.0625F

as that is what I always use as the last parameter when doing models.

 

It's a scale value.  It just so happens that all models need the same scale value (1/16th) to be the right size.

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.

Link to comment
Share on other sites

I am OK with Java codes, but new to those "constants"

So what value do modders use for those "scale"?

 

0.0625F

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.

Link to comment
Share on other sites

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
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.

 Share



×
×
  • Create New...

Important Information

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