Interchange arguments to ModBlocks.register to match the vanilla signature, for future portability

This commit is contained in:
Vincent Lee committed 2020-06-22 17:33:36 -05:00
1 parent 7e676f081f
commit daa1201e7f
6 files changed
+733 -733

No files matched your search

@@ -41,12 +41,12 @@ public class ModFeatures {
public static void registerFeatures(RegistryEvent.Register<Feature<?>> event) {
IForgeRegistry<Feature<?>> r = event.getRegistry();
register(r, MYSTICAL_FLOWERS, "mystical_flowers");
register(r, MYSTICAL_MUSHROOMS, "mystical_mushrooms");
register(r, "mystical_flowers", MYSTICAL_FLOWERS);
register(r, "mystical_mushrooms", MYSTICAL_MUSHROOMS);
}
public static void registerChunkGenerators(RegistryEvent.Register<ChunkGeneratorType<?, ?>> evt) {
register(evt.getRegistry(), SkyblockChunkGenerator.TYPE, "garden_of_glass");
register(evt.getRegistry(), "garden_of_glass", SkyblockChunkGenerator.TYPE);
}
public static void addWorldgen() {