Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

I am having problem trying to figure out how to put my Techne file into Forge to let Forge render my entity model properly.

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.

  • Author

...

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

...

Yeah but what was that?

I am having trouble there

I have been successful in resolving the errors and exporting.

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.

  • Author

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?

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.

  • Author

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);

    }

}

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.

  • Author

Aside from that

Do my RenderTesterBolt have any problem?

 

I need an example for such entities.

 

EDIT: Still I cant see the bolt, but the explosion left behind.

public void renderBolt(Entity entity, double x, double y, double z, float u, float v) {
                super.doRender(entity, x, y, z, u, v);
        }

You should be rendering here. The super class isn't going to do it for you.

[shadow=gray,left][glow=red,2,300]KEEGAN[/glow][/shadow]

  • Author

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.

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/

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.

  • Author

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

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

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.

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.