Sync component registry ids

Fix deprecation typo
Bump ModLauncher (better stack traces)
Set Automatic-Module-Name
This commit is contained in:
LexManos committed 2024-10-07 17:26:13 -07:00
1 parent 2c6156be25
commit 23b41ce9b3
5 files changed
+9 -4

No files matched your search

@@ -33,6 +33,7 @@ import net.minecraft.core.MappedRegistry;
import net.minecraft.core.Registry;
import net.minecraft.core.WritableRegistry;
import net.minecraft.core.registries.BuiltInRegistries;
import net.minecraft.core.registries.Registries;
import net.minecraft.network.syncher.EntityDataSerializer;
import net.minecraft.resources.ResourceKey;
import net.minecraft.resources.ResourceLocation;
@@ -123,6 +124,7 @@ public class GameData {
makeRegistry(Keys.ATTRIBUTES).onValidate(AttributeCallbacks.INSTANCE).disableSaving().disableSync().create();
makeRegistry(Keys.STAT_TYPES).create();
makeRegistry(Keys.COMMAND_ARGUMENT_TYPES).disableSaving().create();
makeRegistry(Registries.DATA_COMPONENT_TYPE).disableSaving().create();
// Villagers
makeRegistry(Keys.VILLAGER_PROFESSIONS, "none").create();