Uses of Class
net.minecraft.component.ComponentType.Builder
-
Uses of ComponentType.Builder in net.minecraft.component
Modifier and TypeMethodDescriptionstatic <T> ComponentType.Builder
<T> ComponentType.builder()
ComponentType.Builder.cache()
ComponentType.Builder.packetCodec
(PacketCodec<? super RegistryByteBuf, T> packetCodec) Modifier and TypeMethodDescriptionprivate static <T> ComponentType
<T> DataComponentTypes.register
(String id, UnaryOperator<ComponentType.Builder<T>> builderOperator) private static <T> ComponentType
<T> EnchantmentEffectComponentTypes.register
(String id, UnaryOperator<ComponentType.Builder<T>> builderOperator)