Merge branch 'mc1.15/dev' into mc1.16/dev

This commit is contained in:
simibubi 2020-11-20 22:42:00 +01:00
commit f9d9fe27e1
2 changed files with 5 additions and 1 deletions

View file

@ -24,6 +24,7 @@ import com.simibubi.create.foundation.data.LangMerger;
import com.simibubi.create.foundation.data.recipe.MechanicalCraftingRecipeGen; import com.simibubi.create.foundation.data.recipe.MechanicalCraftingRecipeGen;
import com.simibubi.create.foundation.data.recipe.ProcessingRecipeGen; import com.simibubi.create.foundation.data.recipe.ProcessingRecipeGen;
import com.simibubi.create.foundation.data.recipe.StandardRecipeGen; import com.simibubi.create.foundation.data.recipe.StandardRecipeGen;
import com.simibubi.create.foundation.entity.CreateDataSerializers;
import com.simibubi.create.foundation.networking.AllPackets; import com.simibubi.create.foundation.networking.AllPackets;
import com.simibubi.create.foundation.worldgen.AllWorldFeatures; import com.simibubi.create.foundation.worldgen.AllWorldFeatures;
import com.tterrag.registrate.util.NonNullLazyValue; import com.tterrag.registrate.util.NonNullLazyValue;
@ -94,6 +95,7 @@ public class Create {
modEventBus.addListener(EventPriority.LOWEST, this::gatherData); modEventBus.addListener(EventPriority.LOWEST, this::gatherData);
AllConfigs.register(); AllConfigs.register();
CreateDataSerializers.register();
random = new Random(); random = new Random();
DistExecutor.runWhenOn(Dist.CLIENT, () -> () -> CreateClient.addClientListeners(modEventBus)); DistExecutor.runWhenOn(Dist.CLIENT, () -> () -> CreateClient.addClientListeners(modEventBus));

View file

@ -30,5 +30,7 @@ public class CreateDataSerializers {
static { static {
DataSerializers.registerSerializer(OPTIONAL_DIRECTION); DataSerializers.registerSerializer(OPTIONAL_DIRECTION);
} }
public static void register() {}
} }