Package io.papermc.paper.datacomponent
Interface DataComponentBuilder<C>
- Type Parameters:
C
- built component type
- All Known Subinterfaces:
BannerPatternLayers.Builder
,BlockItemDataProperties.Builder
,BundleContents.Builder
,ChargedProjectiles.Builder
,Consumable.Builder
,CustomModelData.Builder
,DeathProtection.Builder
,DyedItemColor.Builder
,Equippable.Builder
,Fireworks.Builder
,FoodProperties.Builder
,ItemAdventurePredicate.Builder
,ItemArmorTrim.Builder
,ItemAttributeModifiers.Builder
,ItemContainerContents.Builder
,ItemEnchantments.Builder
,ItemLore.Builder
,JukeboxPlayable.Builder
,LodestoneTracker.Builder
,MapDecorations.Builder
,MapItemColor.Builder
,PotDecorations.Builder
,PotionContents.Builder
,ResolvableProfile.Builder
,SeededContainerLoot.Builder
,SuspiciousStewEffects.Builder
,Tool.Builder
,Unbreakable.Builder
,UseCooldown.Builder
,WritableBookContent.Builder
,WrittenBookContent.Builder
Base builder type for all component builders.
-
Method Summary
-
Method Details
-
build
Builds the immutable component value.- Returns:
- a new component value
-