Jump to content

Recommended Posts

Posted

I made a model in Techne and now I want to add it to my mod, only problem is this is the first model I made.

I was wondering if a Techne model had to be a Tile Entitie or can it just extend the block code?

 

The block itself will do nothing, I only want it to have this model instead of it just being a normal sized block.

 

(Big sorry luacs, Forgot to change to modder support area before pressing the new topic button.)

Posted

Hey brah,

 

I think you might want to take a look at how BlockStairs or BlockFence render. Meaning it is possible. But I believe these models are included in Minecraft and the way to specify the right model would be through this method:

public int getRenderType() {
    return 10;
}

where 10 in this case refers to the stair model.

 

Now, as far as I know, forge doesn't allow you to add these render types, so you might be better off with a TileEntity, unless you want to be able to move your block of course. Then it does have to be a normal block.

 

If you REALLY want this, I suggest looking at RenderBlocks.renderBlockByRenderType and the getRenderType() methods

Posted

Look up Wuppy's tutorials on this.  It will help a lot.  You need to use a tilentity for a really fancy render.

Long time Bukkit & Forge Programmer

Happy to try and help

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



×
×
  • Create New...

Important Information

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