#mod-dev-talk Thursday 2 September 2021
16 messages7 people
- G
- G
What fun.private static Map<Biome, BiomeWeatherController> BIOME_CONTROLLERS = Map.of(); private static Map<Identifier, BiomeWeatherController> IDENTIFIER_CONTROLLERS = Map.of(); public static void init(DynamicRegistryManager manager){ BIOME_CONTROLLERS = AetherWeatherController.createControllerMap(manager); IDENTIFIER_CONTROLLERS = BIOME_CONTROLLERS.values().stream() .collect(Collectors.toMap(BiomeWeatherController::getId, Function.identity())); }04:00Okay, in theory this weather code can work on a dedicated server and a client now.04:05Just a couple more things and I will push these changes to my branch. - G
- M04:30Imma be in debt ;-;
- J
- C
- M
Replying toJack PapelWhat were you in for?
If you really want to know I can tell you in FMs. - G
- S
- C
- G
- K
- C