Migrate some things to DataGen

This commit is contained in:
Zontreck 2024-02-20 02:38:02 -07:00
parent 58f23e8758
commit 1015b36ee5
199 changed files with 237 additions and 2938 deletions

View file

@ -76,7 +76,7 @@ public class ModBlocks {
public static RegistryObject<Block> registerWithItem(RegistryObject<Block> blk, Item.Properties props)
{
ITEMS.register(blk.getId().getPath(), ()->new BlockItem(blk.get(), props));
CreativeModeTabs.addToOTEModTab(ITEMS.register(blk.getId().getPath(), ()->new BlockItem(blk.get(), props)));
return blk;
}