From 02e640d5cd98b28d2cb3b2c7e53ff32ad0bfc9ad Mon Sep 17 00:00:00 2001 From: mrsterner Date: Fri, 29 Nov 2024 13:31:22 +0100 Subject: [PATCH] oh this aint needed --- src/main/java/com/sammy/malum/MalumMod.java | 2 -- .../common/MalumDataComponentRegistry.java | 19 ------------------- 2 files changed, 21 deletions(-) delete mode 100644 src/main/java/com/sammy/malum/registry/common/MalumDataComponentRegistry.java diff --git a/src/main/java/com/sammy/malum/MalumMod.java b/src/main/java/com/sammy/malum/MalumMod.java index 1312eeb32..05abcb6c2 100644 --- a/src/main/java/com/sammy/malum/MalumMod.java +++ b/src/main/java/com/sammy/malum/MalumMod.java @@ -5,7 +5,6 @@ import com.sammy.malum.compability.irons_spellbooks.*; import com.sammy.malum.compability.tetra.*; import com.sammy.malum.config.*; -import com.sammy.malum.registry.common.MalumDataComponentRegistry; import com.sammy.malum.registry.common.item.tabs.*; import net.minecraft.resources.*; import net.minecraft.util.*; @@ -59,7 +58,6 @@ public MalumMod() { FEATURE_TYPES.register(modBus); STRUCTURES.register(modBus); CREATIVE_MODE_TABS.register(modBus); - MalumDataComponentRegistry.DATA.register(modBus); TetraCompat.init(); FarmersDelightCompat.init(); diff --git a/src/main/java/com/sammy/malum/registry/common/MalumDataComponentRegistry.java b/src/main/java/com/sammy/malum/registry/common/MalumDataComponentRegistry.java deleted file mode 100644 index c6fc8de8d..000000000 --- a/src/main/java/com/sammy/malum/registry/common/MalumDataComponentRegistry.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.sammy.malum.registry.common; - -import com.sammy.malum.MalumMod; -import com.sammy.malum.core.systems.ritual.MalumRitualTier; -import net.minecraft.core.component.DataComponentType; -import net.minecraft.core.registries.Registries; -import net.neoforged.neoforge.registries.DeferredHolder; -import net.neoforged.neoforge.registries.DeferredRegister; - -public class MalumDataComponentRegistry { - - public static final DeferredRegister> DATA = DeferredRegister.create(Registries.DATA_COMPONENT_TYPE, MalumMod.MALUM); - - public static final DeferredHolder, DataComponentType> RITUAL_TIER = DATA.register("ritual_tier", - () -> DataComponentType.builder() - .persistent(MalumRitualTier.CODEC) - .build() - ); -} \ No newline at end of file