Migrate some things to DataGen
This commit is contained in:
parent
58f23e8758
commit
1015b36ee5
199 changed files with 237 additions and 2938 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Reference in a new issue