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

Hi

 

Making progress step by step ... :)

 

I am told that the forge wavefront parser is a bit picky about the formatting of the instructions in the file, and that it doesn't support all of the information that Blender might put in there.

 

That's all I know.  You could perhaps start a new thread about the specific error

net.minecraftforge.client.model.ModelFormatException: Error parsing entry ('v -1.5 0 1.5', line 5) in file '/assets/dwadventures/OBJ/Tardis/Model11thDoctorTardis.obj' - Incorrect format

You could also try asking on a Blender forum, they might have more clues.

 

-TGG

 

 

  • Author

Hi

 

Making progress step by step ... :)

 

I am told that the forge wavefront parser is a bit picky about the formatting of the instructions in the file, and that it doesn't support all of the information that Blender might put in there.

 

That's all I know.  You could perhaps start a new thread about the specific error

net.minecraftforge.client.model.ModelFormatException: Error parsing entry ('v -1.5 0 1.5', line 5) in file '/assets/dwadventures/OBJ/Tardis/Model11thDoctorTardis.obj' - Incorrect format

You could also try asking on a Blender forum, they might have more clues.

 

-TGG

 

okay thanks for your help but I use Cinema 4D 2014.

Hi

 

When you render in a TESR, the origin is set to the player's head and the function parameters provide the x,y,z offset to the actual position of the TileEntity.  You need to translate before drawing the model.

 

One way of doing this is

    public void renderTileEntityAt(TileEntity par1TileEntity, double dx, double dy, double dz, float partialTickTime)
    {

            GL11.glTranslatef((float)dx, (float)dy, (float)dz);
// now render  your model here

 

You may need to tweak the translate slightly to put the model in exactly the right position.

 

-TGG

  • Author

Hi

 

When you render in a TESR, the origin is set to the player's head and the function parameters provide the x,y,z offset to the actual position of the TileEntity.  You need to translate before drawing the model.

 

One way of doing this is

    public void renderTileEntityAt(TileEntity par1TileEntity, double dx, double dy, double dz, float partialTickTime)
    {

            GL11.glTranslatef((float)dx, (float)dy, (float)dz);
// now render  your model here

 

You may need to tweak the translate slightly to put the model in exactly the right position.

 

-TGG

 

Okay so how do I exactly set a location for the block? It is set to my position and how I move cause when I walk a certain direction it just flies around up into the sky and goes into the ground when i was backwards.

  • Author

I FIXED EVERYTHING!!!! YES!!!

Now...

 

1. without the texture the regular block model is inside...

2. The model is not solid even though I set it as one.

Here is the code:

    /**
     * Returns Returns true if the given side of this block type should be
     * rendered (if it's solid or not), if the adjacent block is at the given
     * coordinates. Args: blockAccess, x, y, z, side
     */
    @Override
    public boolean isBlockSolid(IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5) {
            return true;
    }

3. Do I have to set the Texture Map in Cinema 4D for it to work in game or do I have to do something special?

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.