Last active
September 18, 2019 12:26
-
-
Save matyklug18/d232decb181259170b75128fe6170c93 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static RandomOreBlock testBlock; | |
@SubscribeEvent | |
public void registerBlocks(RegistryEvent.Register<Block> event) { | |
testBlock = new RandomOreBlock(Material.ROCK, 0, 0, CreativeTabs.MATERIALS); | |
event.getRegistry().registerAll(testBlock); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment