Interface ItemComponentRegister
public interface ItemComponentRegister
-
Method Summary
Modifier and TypeMethodDescription<T> voidaccept(String name, UnaryOperator<net.minecraft.core.component.DataComponentType.Builder<T>> builder) <T> voidaccept(net.minecraft.resources.ResourceLocation id, UnaryOperator<net.minecraft.core.component.DataComponentType.Builder<T>> builder)
-
Method Details
-
accept
<T> void accept(String name, UnaryOperator<net.minecraft.core.component.DataComponentType.Builder<T>> builder) -
accept
<T> void accept(net.minecraft.resources.ResourceLocation id, UnaryOperator<net.minecraft.core.component.DataComponentType.Builder<T>> builder)
-