Fabric API

Fabric API

111M Downloads

Datagen generating redundant item models, even though it shouldn't.

Fellteros opened this issue ยท 2 comments

commented

Github repo
Hi, I've come across this when using my ModelProvider. I've normally added a few new blocks, to which I wanted to do the item and block models manually (vertical grass slab and stairs to be exact). But when I did that and ran the datagen, it generated item models for those blocks, even though they're not in my ModelProvider.

Here are steps to reproduce this issue:

  • register a block
  • create a item model JSON in resources/assets/mod_id/items for this block
  • run a datagen with ModelProvider registered

I have a few custom datagen methods, tho it shouldn't be them. I tested this in my other mod without such methods, and had the same problem.

commented

I'm pretty sure this is a vanilla feature.

commented

So mixing in the vanilla methods is the answer?