Uses of Record Class
net.minecraft.component.Component
-
Uses of Component in net.minecraft.component
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, Component<?>> Component.PACKET_CODEC
Modifier and TypeMethodDescriptionComponentMap.copy
(DataComponentType<T> type) (package private) static Component
<?> Component.of
(Map.Entry<DataComponentType<?>, Object> entry) (package private) static <T> Component
<T> Component.of
(DataComponentType<T> type, Object value) Modifier and TypeMethodDescriptionComponentMap.Builder.SimpleComponentMap.iterator()
ComponentMap.iterator()
ComponentMapImpl.iterator()
ComponentMap.stream()
Modifier and TypeMethodDescription -
Uses of Component in net.minecraft.data.report
Modifier and TypeMethodDescriptionprivate static <T> JsonElement
ItemListProvider.toJson
(Component<T> component, com.mojang.serialization.DynamicOps<JsonElement> ops) -
Uses of Component in net.minecraft.predicate
Modifier and TypeFieldDescriptionComponentPredicate.Builder.components
ComponentPredicate.components
ModifierConstructorDescription(package private)
ComponentPredicate
(List<Component<?>> components)