Interface UnifiedRegistries.DataComponentTypes
- All Known Implementing Classes:
NeoForgeUnifiedRegistries.DataComponentTypes, StagedRegistries.StagedDataComponentTypes
- Enclosing class:
UnifiedRegistries
public static interface UnifiedRegistries.DataComponentTypes
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAlias(net.minecraft.resources.Identifier convertedFrom, net.minecraft.resources.Identifier convertedTo) modId()<T> Supplied<net.minecraft.core.component.DataComponentType<T>> register(String path, UnaryOperator<net.minecraft.core.component.DataComponentType.Builder<T>> unaryOperator)
-
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
-