r/NeoforgeMods • u/queen_livia • 2h ago
Help! Datagen question
I'm trying to datagen the block and item model for a block I made and I can get it to generate the block texture in the world fine but not the item model and texture. I tried following a tutorial and that got me a line with
> ModelFile Model = models().withExistingParent("model",this.mcLoc("block/cobblestone"));
And then later:
> simpleBlockWithItem(AllBlocks.TILE_BLOCK.get(), Model);
And now the in world texture is cobblestone and the item is still a huge missing texture cube
1
Upvotes