Jump to content

Change blockstate location for block


Focamacho

Recommended Posts

I need to do it because I am registering blocks & items using a config file. Yes, all the blocks will have the same texture, and I'll try to change only the block color.

Using 

ModelLoader.setCustomModelResourceLocation(this, 0, new ModelResourceLocation("modid:base_item", "inventory"));

Works fine for items, but I'm not sure how to do it with blocks.

Link to comment
Share on other sites

3 minutes ago, diesieben07 said:

Registry events fire before configs are loaded.

They are?
I'm using a config file to get things like item name, etc ... so I create the item using these arguments.
Everything works perfectly, the only problem is the texture of the blocks.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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