Skip to content

Commit

Permalink
Old method was marked for removal (fixed)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfieboy09 committed Oct 27, 2024
1 parent b386fbd commit 573621e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
import dev.wolfieboy09.qstorage.api.records.BaseStorageDisk;
import dev.wolfieboy09.qstorage.api.records.ItemStorageDiskRecord;
import net.minecraft.core.component.DataComponentType;
import net.minecraft.core.registries.Registries;
import net.neoforged.bus.api.IEventBus;
import net.neoforged.neoforge.registries.DeferredHolder;
import net.neoforged.neoforge.registries.DeferredRegister;

public class QSDataComponents {
public static final DeferredRegister.DataComponents REGISTRAR = DeferredRegister.createDataComponents(QuantiumizedStorage.MOD_ID);
public static final DeferredRegister.DataComponents REGISTRAR = DeferredRegister.createDataComponents(Registries.DATA_COMPONENT_TYPE, QuantiumizedStorage.MOD_ID);

public static final DeferredHolder<DataComponentType<?>, DataComponentType<BaseStorageDisk>> BASE_STORAGE_DISK_COMPONENT = REGISTRAR.registerComponentType(
"base_storage_disk",
Expand Down

0 comments on commit 573621e

Please sign in to comment.