Jump to content

Recommended Posts

Posted

Hello, I am wondering if it is possible to use a vanilla texture like oak planks on an entity mondel, say a custom boat?  

 

This is why I want to do it. I have a entity like a boat that I want to be able to texture it with numerous textures, like oak planks for example. I figure instead of making a custom texture for each building block (which can make my mod a lot bigger having each individual texture for the model for 40+ building blocks), I can just pull from, again, the oak plank vanilla texture so that if someone uses a texture pack, it will use their texture of oak planks to overlay it on the boat. I know the 16 bit textures are small, so if this can be done, is there a way to take the simple 16x and repeat it over the model?  

I am not sure if I am being clear or not, but any help would be appreciated. If needed, I could whip up some pictures to show what I mean. Thank you!

Posted

I would think you simply get the resourcelocation and use which ever one in your render

 

 

example:

new ResourceLocation("minecraft","textures/blocks/planks_oak.png")

Posted

Well setting that take the vanilla texture and tries to stretch it over the model which starts to looks bad. Hard to tell what it is. Is there a way to like stitch that texture into a new texture and use that?

Posted

I am not sure if I can do what I want to do. I just didn't want 50+ extra bigger textures per model because I wanted to give people the option to skin it and customize it.

Posted

Maybe is there a way to overlay textures on top of a model? like lets say I make a repeating texture and place that on the model then overlay generic details on top of that in layers like you can do with blocks and items?

Posted

Just so people know, it looks like you cannot overlay multiple textures (bind more that one on a model for, say, an entity) without having to jump into opengl, which is deeper than I wanted to dive into. 

Posted

I used techne to make the models. I didn't have much luck all together. The texture tiling was the first part, but you can only bind one texture to a model at a time. I wanted to just tile the bottom texture and then have a static generic overlay on top. Didn't see a way to do what with a entity model.

  • Like 1
Posted
Just now, Viesis said:

I used techne to make the models. I didn't have much luck all together. The texture tiling was the first part, but you can only bind one texture to a model at a time. I wanted to just tile the bottom texture and then have a static generic overlay on top. Didn't see a way to do what with a entity model.

personally, I just use techne to visualize my model but I actually write the model itself. 

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.