Uses of Interface
io.papermc.paper.datacomponent.DataComponentType
Packages that use DataComponentType
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes involved in manipulating player inventories and item interactions.
-
Uses of DataComponentType in io.papermc.paper.datacomponent
Subinterfaces of DataComponentType in io.papermc.paper.datacomponentModifier and TypeInterfaceDescriptionstatic interfacestatic interfaceMethods in io.papermc.paper.datacomponent with parameters of type DataComponentTypeModifier and TypeMethodDescriptionbooleanDataComponentView.hasData(DataComponentType type) Checks if the data component type is set on this holder. -
Uses of DataComponentType in io.papermc.paper.datacomponent.item
Methods in io.papermc.paper.datacomponent.item that return types with arguments of type DataComponentTypeMethods in io.papermc.paper.datacomponent.item with parameters of type DataComponentTypeModifier and TypeMethodDescriptionTooltipDisplay.Builder.addHiddenComponents(DataComponentType... components) Method parameters in io.papermc.paper.datacomponent.item with type arguments of type DataComponentTypeModifier and TypeMethodDescriptionTooltipDisplay.Builder.hiddenComponents(Set<DataComponentType> components) -
Uses of DataComponentType in io.papermc.paper.registry
Fields in io.papermc.paper.registry with type parameters of type DataComponentTypeModifier and TypeFieldDescriptionstatic final RegistryKey<DataComponentType> RegistryKey.DATA_COMPONENT_TYPEBuilt-in registry for data component types. -
Uses of DataComponentType in io.papermc.paper.registry.keys
Fields in io.papermc.paper.registry.keys with type parameters of type DataComponentTypeModifier and TypeFieldDescriptionstatic final TypedKey<DataComponentType> DataComponentTypeKeys.ATTRIBUTE_MODIFIERSminecraft:attribute_modifiersstatic final TypedKey<DataComponentType> DataComponentTypeKeys.AXOLOTL_VARIANTminecraft:axolotl/variantstatic final TypedKey<DataComponentType> DataComponentTypeKeys.BANNER_PATTERNSminecraft:banner_patternsstatic final TypedKey<DataComponentType> DataComponentTypeKeys.BASE_COLORminecraft:base_colorstatic final TypedKey<DataComponentType> DataComponentTypeKeys.BEESminecraft:beesstatic final TypedKey<DataComponentType> DataComponentTypeKeys.BLOCK_ENTITY_DATAminecraft:block_entity_datastatic final TypedKey<DataComponentType> DataComponentTypeKeys.BLOCK_STATEminecraft:block_statestatic final TypedKey<DataComponentType> DataComponentTypeKeys.BLOCKS_ATTACKSminecraft:blocks_attacksstatic final TypedKey<DataComponentType> DataComponentTypeKeys.BREAK_SOUNDminecraft:break_soundstatic final TypedKey<DataComponentType> DataComponentTypeKeys.BUCKET_ENTITY_DATAminecraft:bucket_entity_datastatic final TypedKey<DataComponentType> DataComponentTypeKeys.BUNDLE_CONTENTSminecraft:bundle_contentsstatic final TypedKey<DataComponentType> DataComponentTypeKeys.CAN_BREAKminecraft:can_breakstatic final TypedKey<DataComponentType> DataComponentTypeKeys.CAN_PLACE_ONminecraft:can_place_onstatic final TypedKey<DataComponentType> DataComponentTypeKeys.CAT_COLLARminecraft:cat/collarstatic final TypedKey<DataComponentType> DataComponentTypeKeys.CAT_VARIANTminecraft:cat/variantstatic final TypedKey<DataComponentType> DataComponentTypeKeys.CHARGED_PROJECTILESminecraft:charged_projectilesstatic final TypedKey<DataComponentType> DataComponentTypeKeys.CHICKEN_VARIANTminecraft:chicken/variantstatic final TypedKey<DataComponentType> DataComponentTypeKeys.CONSUMABLEminecraft:consumablestatic final TypedKey<DataComponentType> DataComponentTypeKeys.CONTAINERminecraft:containerstatic final TypedKey<DataComponentType> DataComponentTypeKeys.CONTAINER_LOOTminecraft:container_lootstatic final TypedKey<DataComponentType> DataComponentTypeKeys.COW_VARIANTminecraft:cow/variantstatic final TypedKey<DataComponentType> DataComponentTypeKeys.CREATIVE_SLOT_LOCKminecraft:creative_slot_lockstatic final TypedKey<DataComponentType> DataComponentTypeKeys.CUSTOM_DATAminecraft:custom_datastatic final TypedKey<DataComponentType> DataComponentTypeKeys.CUSTOM_MODEL_DATAminecraft:custom_model_datastatic final TypedKey<DataComponentType> DataComponentTypeKeys.CUSTOM_NAMEminecraft:custom_namestatic final TypedKey<DataComponentType> DataComponentTypeKeys.DAMAGEminecraft:damagestatic final TypedKey<DataComponentType> DataComponentTypeKeys.DAMAGE_RESISTANTminecraft:damage_resistantstatic final TypedKey<DataComponentType> DataComponentTypeKeys.DEATH_PROTECTIONminecraft:death_protectionstatic final TypedKey<DataComponentType> DataComponentTypeKeys.DEBUG_STICK_STATEminecraft:debug_stick_statestatic final TypedKey<DataComponentType> DataComponentTypeKeys.DYED_COLORminecraft:dyed_colorstatic final TypedKey<DataComponentType> DataComponentTypeKeys.ENCHANTABLEminecraft:enchantablestatic final TypedKey<DataComponentType> DataComponentTypeKeys.ENCHANTMENT_GLINT_OVERRIDEminecraft:enchantment_glint_overridestatic final TypedKey<DataComponentType> DataComponentTypeKeys.ENCHANTMENTSminecraft:enchantmentsstatic final TypedKey<DataComponentType> DataComponentTypeKeys.ENTITY_DATAminecraft:entity_datastatic final TypedKey<DataComponentType> DataComponentTypeKeys.EQUIPPABLEminecraft:equippablestatic final TypedKey<DataComponentType> DataComponentTypeKeys.FIREWORK_EXPLOSIONminecraft:firework_explosionstatic final TypedKey<DataComponentType> DataComponentTypeKeys.FIREWORKSminecraft:fireworksstatic final TypedKey<DataComponentType> DataComponentTypeKeys.FOODminecraft:foodstatic final TypedKey<DataComponentType> DataComponentTypeKeys.FOX_VARIANTminecraft:fox/variantstatic final TypedKey<DataComponentType> DataComponentTypeKeys.FROG_VARIANTminecraft:frog/variantstatic final TypedKey<DataComponentType> DataComponentTypeKeys.GLIDERminecraft:gliderstatic final TypedKey<DataComponentType> DataComponentTypeKeys.HORSE_VARIANTminecraft:horse/variantstatic final TypedKey<DataComponentType> DataComponentTypeKeys.INSTRUMENTminecraft:instrumentstatic final TypedKey<DataComponentType> DataComponentTypeKeys.INTANGIBLE_PROJECTILEminecraft:intangible_projectilestatic final TypedKey<DataComponentType> DataComponentTypeKeys.ITEM_MODELminecraft:item_modelstatic final TypedKey<DataComponentType> DataComponentTypeKeys.ITEM_NAMEminecraft:item_namestatic final TypedKey<DataComponentType> DataComponentTypeKeys.JUKEBOX_PLAYABLEminecraft:jukebox_playablestatic final TypedKey<DataComponentType> DataComponentTypeKeys.LLAMA_VARIANTminecraft:llama/variantstatic final TypedKey<DataComponentType> DataComponentTypeKeys.LOCKminecraft:lockstatic final TypedKey<DataComponentType> DataComponentTypeKeys.LODESTONE_TRACKERminecraft:lodestone_trackerstatic final TypedKey<DataComponentType> DataComponentTypeKeys.LOREminecraft:lorestatic final TypedKey<DataComponentType> DataComponentTypeKeys.MAP_COLORminecraft:map_colorstatic final TypedKey<DataComponentType> DataComponentTypeKeys.MAP_DECORATIONSminecraft:map_decorationsstatic final TypedKey<DataComponentType> DataComponentTypeKeys.MAP_IDminecraft:map_idstatic final TypedKey<DataComponentType> DataComponentTypeKeys.MAP_POST_PROCESSINGminecraft:map_post_processingstatic final TypedKey<DataComponentType> DataComponentTypeKeys.MAX_DAMAGEminecraft:max_damagestatic final TypedKey<DataComponentType> DataComponentTypeKeys.MAX_STACK_SIZEminecraft:max_stack_sizestatic final TypedKey<DataComponentType> DataComponentTypeKeys.MOOSHROOM_VARIANTminecraft:mooshroom/variantstatic final TypedKey<DataComponentType> DataComponentTypeKeys.NOTE_BLOCK_SOUNDminecraft:note_block_soundstatic final TypedKey<DataComponentType> DataComponentTypeKeys.OMINOUS_BOTTLE_AMPLIFIERminecraft:ominous_bottle_amplifierstatic final TypedKey<DataComponentType> DataComponentTypeKeys.PAINTING_VARIANTminecraft:painting/variantstatic final TypedKey<DataComponentType> DataComponentTypeKeys.PARROT_VARIANTminecraft:parrot/variantstatic final TypedKey<DataComponentType> DataComponentTypeKeys.PIG_VARIANTminecraft:pig/variantstatic final TypedKey<DataComponentType> DataComponentTypeKeys.POT_DECORATIONSminecraft:pot_decorationsstatic final TypedKey<DataComponentType> DataComponentTypeKeys.POTION_CONTENTSminecraft:potion_contentsstatic final TypedKey<DataComponentType> DataComponentTypeKeys.POTION_DURATION_SCALEminecraft:potion_duration_scalestatic final TypedKey<DataComponentType> DataComponentTypeKeys.PROFILEminecraft:profilestatic final TypedKey<DataComponentType> DataComponentTypeKeys.PROVIDES_BANNER_PATTERNSminecraft:provides_banner_patternsstatic final TypedKey<DataComponentType> DataComponentTypeKeys.PROVIDES_TRIM_MATERIALminecraft:provides_trim_materialstatic final TypedKey<DataComponentType> DataComponentTypeKeys.RABBIT_VARIANTminecraft:rabbit/variantstatic final TypedKey<DataComponentType> DataComponentTypeKeys.RARITYminecraft:raritystatic final TypedKey<DataComponentType> DataComponentTypeKeys.RECIPESminecraft:recipesstatic final TypedKey<DataComponentType> DataComponentTypeKeys.REPAIR_COSTminecraft:repair_coststatic final TypedKey<DataComponentType> DataComponentTypeKeys.REPAIRABLEminecraft:repairablestatic final TypedKey<DataComponentType> DataComponentTypeKeys.SALMON_SIZEminecraft:salmon/sizestatic final TypedKey<DataComponentType> DataComponentTypeKeys.SHEEP_COLORminecraft:sheep/colorstatic final TypedKey<DataComponentType> DataComponentTypeKeys.SHULKER_COLORminecraft:shulker/colorstatic final TypedKey<DataComponentType> DataComponentTypeKeys.STORED_ENCHANTMENTSminecraft:stored_enchantmentsstatic final TypedKey<DataComponentType> DataComponentTypeKeys.SUSPICIOUS_STEW_EFFECTSminecraft:suspicious_stew_effectsstatic final TypedKey<DataComponentType> DataComponentTypeKeys.TOOLminecraft:toolstatic final TypedKey<DataComponentType> DataComponentTypeKeys.TOOLTIP_DISPLAYminecraft:tooltip_displaystatic final TypedKey<DataComponentType> DataComponentTypeKeys.TOOLTIP_STYLEminecraft:tooltip_stylestatic final TypedKey<DataComponentType> DataComponentTypeKeys.TRIMminecraft:trimstatic final TypedKey<DataComponentType> DataComponentTypeKeys.TROPICAL_FISH_BASE_COLORminecraft:tropical_fish/base_colorstatic final TypedKey<DataComponentType> DataComponentTypeKeys.TROPICAL_FISH_PATTERNminecraft:tropical_fish/patternstatic final TypedKey<DataComponentType> DataComponentTypeKeys.TROPICAL_FISH_PATTERN_COLORminecraft:tropical_fish/pattern_colorstatic final TypedKey<DataComponentType> DataComponentTypeKeys.UNBREAKABLEminecraft:unbreakablestatic final TypedKey<DataComponentType> DataComponentTypeKeys.USE_COOLDOWNminecraft:use_cooldownstatic final TypedKey<DataComponentType> DataComponentTypeKeys.USE_REMAINDERminecraft:use_remainderstatic final TypedKey<DataComponentType> DataComponentTypeKeys.VILLAGER_VARIANTminecraft:villager/variantstatic final TypedKey<DataComponentType> DataComponentTypeKeys.WEAPONminecraft:weaponstatic final TypedKey<DataComponentType> DataComponentTypeKeys.WOLF_COLLARminecraft:wolf/collarstatic final TypedKey<DataComponentType> DataComponentTypeKeys.WOLF_SOUND_VARIANTminecraft:wolf/sound_variantstatic final TypedKey<DataComponentType> DataComponentTypeKeys.WOLF_VARIANTminecraft:wolf/variantstatic final TypedKey<DataComponentType> DataComponentTypeKeys.WRITABLE_BOOK_CONTENTminecraft:writable_book_contentstatic final TypedKey<DataComponentType> DataComponentTypeKeys.WRITTEN_BOOK_CONTENTminecraft:written_book_content -
Uses of DataComponentType in org.bukkit
Fields in org.bukkit with type parameters of type DataComponentTypeModifier and TypeFieldDescriptionstatic final Registry<DataComponentType> Registry.DATA_COMPONENT_TYPEData component types.Methods in org.bukkit that return types with arguments of type DataComponentTypeModifier and TypeMethodDescriptionMaterial.getDefaultDataTypes()Gets the default data component types for this item type.Methods in org.bukkit with parameters of type DataComponentTypeModifier and TypeMethodDescriptionbooleanMaterial.hasDefaultData(@NotNull DataComponentType type) Checks if the data component type has a default value for this item type. -
Uses of DataComponentType in org.bukkit.inventory
Methods in org.bukkit.inventory that return types with arguments of type DataComponentTypeModifier and TypeMethodDescriptionItemStack.getDataTypes()Gets all the data component types set on this stack.ItemType.getDefaultDataTypes()Gets the default data component types for this item type.Methods in org.bukkit.inventory with parameters of type DataComponentTypeModifier and TypeMethodDescriptionbooleanItemStack.hasData(@NotNull DataComponentType type) Checks if the data component type is set on the itemstack.booleanItemType.hasDefaultData(DataComponentType type) Checks if the data component type has a default value for this item type.booleanItemStack.isDataOverridden(@NotNull DataComponentType type) Checks if the data component type is overridden from the default for the item type.voidItemStack.resetData(@NotNull DataComponentType type) Resets the value of this component to be the default value for the item type fromMaterial.getDefaultData(io.papermc.paper.datacomponent.DataComponentType.Valued).voidItemStack.unsetData(@NotNull DataComponentType type) Marks this data component as removed for this itemstack.Method parameters in org.bukkit.inventory with type arguments of type DataComponentTypeModifier and TypeMethodDescriptionvoidItemStack.copyDataFrom(@NotNull ItemStack source, @NotNull Predicate<@NotNull DataComponentType> filter) Copies component values and component removals from the provided ItemStack.booleanItemStack.matchesWithoutData(@NotNull ItemStack item, Set<@NotNull DataComponentType> excludeTypes) Checks if this itemstack matches another given itemstack excluding the provided components.booleanItemStack.matchesWithoutData(@NotNull ItemStack item, Set<@NotNull DataComponentType> excludeTypes, boolean ignoreCount) Checks if this itemstack matches another given itemstack excluding the provided components.