Uses of Class
net.minecraft.core.component.DataComponentPatch.Builder
Packages that use DataComponentPatch.Builder
-
Uses of DataComponentPatch.Builder in net.minecraft.core.component
Methods in net.minecraft.core.component that return DataComponentPatch.BuilderModifier and TypeMethodDescriptionstatic DataComponentPatch.BuilderDataComponentPatch.builder()DataComponentPatch.Builder.remove(DataComponentType<T> component) DataComponentPatch.Builder.set(DataComponentType<T> component, T value) DataComponentPatch.Builder.set(TypedDataComponent<T> component) -
Uses of DataComponentPatch.Builder in net.neoforged.neoforge.event
Method parameters in net.neoforged.neoforge.event with type arguments of type DataComponentPatch.BuilderModifier and TypeMethodDescriptionvoidModifyDefaultComponentsEvent.modify(ItemLike item, Consumer<DataComponentPatch.Builder> patch) Patches the default components of the givenitem.voidModifyDefaultComponentsEvent.modifyMatching(Predicate<? super Item> predicate, Consumer<DataComponentPatch.Builder> patch) Patches the default components of all items matching the givenpredicate.