A feedback area designed for scripting and mods suggestions and feedback. Please note bug reports and support issues will be removed.

90

Allow CustomModelData from multiple resource packs

7 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 5
    Registered User commented
    Comment actions Permalink

    It's dumb that CustomModelData doesn't work this way!

    Models with the same path should merge, with array/list items being appended based on the resource pack order. Any predicate collisions would be won by the highest resource pack in the list like usual. 

    Then to further reduce the chance of collisions, predicates could have a "custom_model_namespace" property that works alongside "custom_model_data". This way multiple packs could use the same CustomModelData number without much issue.

    If all of this makes load times longer when having multiple resource packs with the same files, well that's the trade off you deal with for heavily modding your game.

    With all that said, real custom items/blocks/menus would be infinitely better!

    And while you're at it, implement a proper scripting language for datapacks, because commands are driving me crazy!

     

  • 0
    Registered User commented
    Comment actions Permalink

    There could be an option in the model.json to only add the custom model data overwrites but not the original texture and don't replace overwrites from other packs

  • 0
    Registered User commented
    Comment actions Permalink

    It'd be nice if the datapack itself could just contain the custom resources/models instead of requiring the player to install two separate things in two separate locations.

  • 2
    Registered User commented
    Comment actions Permalink

    1000% this. Trying to make datapacks that rely on custom model data is totally hit or miss, purely because if any other pack the user has installed happens to use the same item as a base, one or the other is going to break. You shouldn't have to have the average player use external merging tools for this.

  • 0
    Registered User commented
    Comment actions Permalink

    I agree, it would be nice. One question... how would they even do this?

  • 1
    Registered User commented
    Comment actions Permalink

    This would be amazing! I’m a datapack developer currently working on 3 datapacks, all with custom blocks, so having the ability to just use normal item frames for all of them would be such a relief. I don’t really know if there’s some sort of technical roadblock for the devs so that this isn’t possible, but I doubt it. Mojang, get on this!

  • 0
    Registered User commented
    Comment actions Permalink

    It would be exceptional if the predicate part of model files could be somewhere else, interleaved at the end of resource pack loading. Been working on a resourcepack for a mod, and it is tripping over other packs even though it shouldn’t need to.