r/NeoforgeMods • • 2h ago

Help! Datagen question

1 Upvotes

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


r/NeoforgeMods • • 16h ago

How to spawn an entity with a velocity.

1 Upvotes

I'm trying to make armour that shoots a wind charge. I currently have something that detects if the player is sneaking but no way to spawn the wind charge I'm in 1.21.1