mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
Interchange arguments to ModBlocks.register to match the vanilla signature, for future portability
This commit is contained in:
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() {
|
||||
|
||||
Reference in new issue
Block a user