Use default Minecraft textures for custom blocks

Started by Mehliug on Thu, 11/03/2022 - 13:09

Topic category: Advanced modding

Last seen on 20:53, 3. Nov 2022
Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Use default Minecraft textures for custom blocks
Thu, 11/03/2022 - 13:09

Hi,

I would like to know if I could use Minecraft default textures for my block textures. The idea is to have a sort of link towards the Minecraft default textures, so even when a Texture Pack is equipped, the mod's blocks will still be vanilla looking, and won't seem odd to the player. I would really appreciate if someone could give me more information about that very subject!

- Thanks in advance, Vipere

Last seen on 00:51, 27. Jan 2023
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Yep, this is totally…
Thu, 11/03/2022 - 14:37

Yep, this is totally possible. I'm not sure how you'd reference the default textures in your mod, but you can find them in your game files. (Or using MCAssets, which is a free tool that lets you browse/download Minecraft's assets without digging through your own files), and then just upload them as custom resources. (Or modify them using something like Pixilart.) If you're making a texture pack, it's also worth noting that texture packs can modify modded items, entities, etc; if you're trying to make your mod compatible with a specific texture pack. I'm pretty sure you'd just include the new textures in a separate file titled based on your mod, with the same file formats.

Last seen on 20:53, 3. Nov 2022
Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Hi, First of all, thanks for…
Thu, 11/03/2022 - 18:18

Hi,

First of all, thanks for the quick answer!

I thought about actually porting the minecraft textures from the game files to my workspace, but this is not really the question I was asking. I was wondering if there were a way you could "link" Minecraft textures so any texture pack which changes, let's say the stone texture for instance, would also change the stone texture in the models my mod is using. I think this is totally doable by establishing some kind of link to the textures the game is using, instead of custom ones, but I was wondering how difficult it would be.

Another example so my question is really clear: Let's say I want to add a cauldron full with snow. I create my cauldron model based on the one in-game, and I add a layer of snow inside when the player right clicks on the said cauldron with a snow ball. Amazing! Now, let's say I am using some kind of texture pack in 32x32 pixels resolution, where cauldrons have a different texture. Well, my snow cauldron will now look very odd and ugly with it's vanilla texture 😄.

Last seen on 23:31, 24. Jan 2023
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
this can only be made using…
Thu, 11/03/2022 - 19:33

this can only be made using custom code . for now. since there is no way to link it using mcreator by defaulr