Modern Industrialization

Modern Industrialization

4M Downloads

Material textures are not loaded on initial generation

TheStaticVoid opened this issue ยท 2 comments

commented

MI version: 1.6.16
MC version: 1.19.2

When creating new materials with the MI material builder, the texture for the parts are correctly generated but are then not loaded in the game until the game is restarted.

Steps to reproduce:

  1. Remove any generated modern_industrialization folder in the root MC directory
  2. Add a simple startup script to create a material. i.e.
e.createMaterial('test', 'test', 0x270ed1,
        builder => {
            builder.addParts('dust')
        });
  1. Ensure datageneration and loading generated resources are true in the config
  2. launch the game and you can see the texture missing for the item in REI
  3. restart the game and then you can see the texture
commented

Upon messing with it more, if new part textures are generated during startup, ALL of the custom part textures fail to load

commented

Nvm my script was just bad