First attempt at combining the Block registration and TE registration whilst still keeping support for addons.

It might need some refinement in the future.
This commit is contained in:
Gunther De Wachter
2017-07-14 04:47:40 +02:00
parent c91b432e09
commit 458356a2be
10 changed files with 214 additions and 119 deletions
+3 -3
View File
@@ -393,10 +393,10 @@ public final class Registration
@SubscribeEvent
public void registerRecipes(RegistryEvent.Register<IRecipe> event)
{
IForgeRegistry<IRecipe> registry = event.getRegistry();
final IForgeRegistry<IRecipe> registry = event.getRegistry();
Api api = Api.INSTANCE;
ApiDefinitions definitions = api.definitions();
final Api api = Api.INSTANCE;
final ApiDefinitions definitions = api.definitions();
// Perform ore camouflage!
ItemMaterial.instance.makeUnique();