Class StagedRegistries.StagedDataComponentTypes
java.lang.Object
net.rebel459.unified.impl.core.StagedRegistries.StagedDataComponentTypes
- All Implemented Interfaces:
UnifiedRegistries.DataComponentTypes
- Enclosing class:
StagedRegistries
public static final class StagedRegistries.StagedDataComponentTypes
extends Object
implements UnifiedRegistries.DataComponentTypes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAlias(net.minecraft.resources.Identifier from, net.minecraft.resources.Identifier to) modId()<T> Supplied<net.minecraft.core.component.DataComponentType<T>> register(String path, UnaryOperator<net.minecraft.core.component.DataComponentType.Builder<T>> builder)
-
Constructor Details
-
StagedDataComponentTypes
-
-
Method Details
-
modId
- Specified by:
modIdin interfaceUnifiedRegistries.DataComponentTypes
-
register
public <T> Supplied<net.minecraft.core.component.DataComponentType<T>> register(String path, UnaryOperator<net.minecraft.core.component.DataComponentType.Builder<T>> builder) - Specified by:
registerin interfaceUnifiedRegistries.DataComponentTypes
-
addAlias
public void addAlias(net.minecraft.resources.Identifier from, net.minecraft.resources.Identifier to) - Specified by:
addAliasin interfaceUnifiedRegistries.DataComponentTypes
-