Interface UnifiedRegistries.DataComponentTypes

All Known Implementing Classes:
NeoForgeUnifiedRegistries.DataComponentTypes, StagedRegistries.StagedDataComponentTypes
Enclosing class:
UnifiedRegistries

public static interface UnifiedRegistries.DataComponentTypes
  • Method Details

    • modId

      String modId()
    • register

      <T> Supplied<net.minecraft.core.component.DataComponentType<T>> register(String path, UnaryOperator<net.minecraft.core.component.DataComponentType.Builder<T>> unaryOperator)
    • addAlias

      void addAlias(net.minecraft.resources.Identifier convertedFrom, net.minecraft.resources.Identifier convertedTo)
    • create