Minecraft Forge 1.16.4-35.1.32, with an *ACTUALLY* secure version of Log4j.
Find a file
Marcin Sciesinski bdee7e3c5b Fixing the GameRegistry. Now it is possible to register a Block with a BlockItem using following code:
MyBlock myBlock = new MyBlock();
GameRegistry.registerBlock(myBlock, MyBlockItem.class, "myBlock");
where MyBlockItem class has one constructor with signature:
public MyBlockItem(int id, Block block)
2013-04-21 19:01:18 +01:00
fml Fixing the GameRegistry. Now it is possible to register a Block with a BlockItem using following code: 2013-04-21 19:01:18 +01:00