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 interface
static interface
Methods in io.papermc.paper.datacomponent with parameters of type DataComponentTypeModifier and TypeMethodDescriptionboolean
DataComponentView.hasData
(@NotNull 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_TYPE
Built-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_MODIFIERS
minecraft:attribute_modifiers
static final TypedKey
<DataComponentType> DataComponentTypeKeys.AXOLOTL_VARIANT
minecraft:axolotl/variant
static final TypedKey
<DataComponentType> DataComponentTypeKeys.BANNER_PATTERNS
minecraft:banner_patterns
static final TypedKey
<DataComponentType> DataComponentTypeKeys.BASE_COLOR
minecraft:base_color
static final TypedKey
<DataComponentType> DataComponentTypeKeys.BEES
minecraft:bees
static final TypedKey
<DataComponentType> DataComponentTypeKeys.BLOCK_ENTITY_DATA
minecraft:block_entity_data
static final TypedKey
<DataComponentType> DataComponentTypeKeys.BLOCK_STATE
minecraft:block_state
static final TypedKey
<DataComponentType> DataComponentTypeKeys.BLOCKS_ATTACKS
minecraft:blocks_attacks
static final TypedKey
<DataComponentType> DataComponentTypeKeys.BREAK_SOUND
minecraft:break_sound
static final TypedKey
<DataComponentType> DataComponentTypeKeys.BUCKET_ENTITY_DATA
minecraft:bucket_entity_data
static final TypedKey
<DataComponentType> DataComponentTypeKeys.BUNDLE_CONTENTS
minecraft:bundle_contents
static final TypedKey
<DataComponentType> DataComponentTypeKeys.CAN_BREAK
minecraft:can_break
static final TypedKey
<DataComponentType> DataComponentTypeKeys.CAN_PLACE_ON
minecraft:can_place_on
static final TypedKey
<DataComponentType> DataComponentTypeKeys.CAT_COLLAR
minecraft:cat/collar
static final TypedKey
<DataComponentType> DataComponentTypeKeys.CAT_VARIANT
minecraft:cat/variant
static final TypedKey
<DataComponentType> DataComponentTypeKeys.CHARGED_PROJECTILES
minecraft:charged_projectiles
static final TypedKey
<DataComponentType> DataComponentTypeKeys.CHICKEN_VARIANT
minecraft:chicken/variant
static final TypedKey
<DataComponentType> DataComponentTypeKeys.CONSUMABLE
minecraft:consumable
static final TypedKey
<DataComponentType> DataComponentTypeKeys.CONTAINER
minecraft:container
static final TypedKey
<DataComponentType> DataComponentTypeKeys.CONTAINER_LOOT
minecraft:container_loot
static final TypedKey
<DataComponentType> DataComponentTypeKeys.COW_VARIANT
minecraft:cow/variant
static final TypedKey
<DataComponentType> DataComponentTypeKeys.CREATIVE_SLOT_LOCK
minecraft:creative_slot_lock
static final TypedKey
<DataComponentType> DataComponentTypeKeys.CUSTOM_DATA
minecraft:custom_data
static final TypedKey
<DataComponentType> DataComponentTypeKeys.CUSTOM_MODEL_DATA
minecraft:custom_model_data
static final TypedKey
<DataComponentType> DataComponentTypeKeys.CUSTOM_NAME
minecraft:custom_name
static final TypedKey
<DataComponentType> DataComponentTypeKeys.DAMAGE
minecraft:damage
static final TypedKey
<DataComponentType> DataComponentTypeKeys.DAMAGE_RESISTANT
minecraft:damage_resistant
static final TypedKey
<DataComponentType> DataComponentTypeKeys.DEATH_PROTECTION
minecraft:death_protection
static final TypedKey
<DataComponentType> DataComponentTypeKeys.DEBUG_STICK_STATE
minecraft:debug_stick_state
static final TypedKey
<DataComponentType> DataComponentTypeKeys.DYED_COLOR
minecraft:dyed_color
static final TypedKey
<DataComponentType> DataComponentTypeKeys.ENCHANTABLE
minecraft:enchantable
static final TypedKey
<DataComponentType> DataComponentTypeKeys.ENCHANTMENT_GLINT_OVERRIDE
minecraft:enchantment_glint_override
static final TypedKey
<DataComponentType> DataComponentTypeKeys.ENCHANTMENTS
minecraft:enchantments
static final TypedKey
<DataComponentType> DataComponentTypeKeys.ENTITY_DATA
minecraft:entity_data
static final TypedKey
<DataComponentType> DataComponentTypeKeys.EQUIPPABLE
minecraft:equippable
static final TypedKey
<DataComponentType> DataComponentTypeKeys.FIREWORK_EXPLOSION
minecraft:firework_explosion
static final TypedKey
<DataComponentType> DataComponentTypeKeys.FIREWORKS
minecraft:fireworks
static final TypedKey
<DataComponentType> DataComponentTypeKeys.FOOD
minecraft:food
static final TypedKey
<DataComponentType> DataComponentTypeKeys.FOX_VARIANT
minecraft:fox/variant
static final TypedKey
<DataComponentType> DataComponentTypeKeys.FROG_VARIANT
minecraft:frog/variant
static final TypedKey
<DataComponentType> DataComponentTypeKeys.GLIDER
minecraft:glider
static final TypedKey
<DataComponentType> DataComponentTypeKeys.HORSE_VARIANT
minecraft:horse/variant
static final TypedKey
<DataComponentType> DataComponentTypeKeys.INSTRUMENT
minecraft:instrument
static final TypedKey
<DataComponentType> DataComponentTypeKeys.INTANGIBLE_PROJECTILE
minecraft:intangible_projectile
static final TypedKey
<DataComponentType> DataComponentTypeKeys.ITEM_MODEL
minecraft:item_model
static final TypedKey
<DataComponentType> DataComponentTypeKeys.ITEM_NAME
minecraft:item_name
static final TypedKey
<DataComponentType> DataComponentTypeKeys.JUKEBOX_PLAYABLE
minecraft:jukebox_playable
static final TypedKey
<DataComponentType> DataComponentTypeKeys.LLAMA_VARIANT
minecraft:llama/variant
static final TypedKey
<DataComponentType> DataComponentTypeKeys.LOCK
minecraft:lock
static final TypedKey
<DataComponentType> DataComponentTypeKeys.LODESTONE_TRACKER
minecraft:lodestone_tracker
static final TypedKey
<DataComponentType> DataComponentTypeKeys.LORE
minecraft:lore
static final TypedKey
<DataComponentType> DataComponentTypeKeys.MAP_COLOR
minecraft:map_color
static final TypedKey
<DataComponentType> DataComponentTypeKeys.MAP_DECORATIONS
minecraft:map_decorations
static final TypedKey
<DataComponentType> DataComponentTypeKeys.MAP_ID
minecraft:map_id
static final TypedKey
<DataComponentType> DataComponentTypeKeys.MAP_POST_PROCESSING
minecraft:map_post_processing
static final TypedKey
<DataComponentType> DataComponentTypeKeys.MAX_DAMAGE
minecraft:max_damage
static final TypedKey
<DataComponentType> DataComponentTypeKeys.MAX_STACK_SIZE
minecraft:max_stack_size
static final TypedKey
<DataComponentType> DataComponentTypeKeys.MOOSHROOM_VARIANT
minecraft:mooshroom/variant
static final TypedKey
<DataComponentType> DataComponentTypeKeys.NOTE_BLOCK_SOUND
minecraft:note_block_sound
static final TypedKey
<DataComponentType> DataComponentTypeKeys.OMINOUS_BOTTLE_AMPLIFIER
minecraft:ominous_bottle_amplifier
static final TypedKey
<DataComponentType> DataComponentTypeKeys.PAINTING_VARIANT
minecraft:painting/variant
static final TypedKey
<DataComponentType> DataComponentTypeKeys.PARROT_VARIANT
minecraft:parrot/variant
static final TypedKey
<DataComponentType> DataComponentTypeKeys.PIG_VARIANT
minecraft:pig/variant
static final TypedKey
<DataComponentType> DataComponentTypeKeys.POT_DECORATIONS
minecraft:pot_decorations
static final TypedKey
<DataComponentType> DataComponentTypeKeys.POTION_CONTENTS
minecraft:potion_contents
static final TypedKey
<DataComponentType> DataComponentTypeKeys.POTION_DURATION_SCALE
minecraft:potion_duration_scale
static final TypedKey
<DataComponentType> DataComponentTypeKeys.PROFILE
minecraft:profile
static final TypedKey
<DataComponentType> DataComponentTypeKeys.PROVIDES_BANNER_PATTERNS
minecraft:provides_banner_patterns
static final TypedKey
<DataComponentType> DataComponentTypeKeys.PROVIDES_TRIM_MATERIAL
minecraft:provides_trim_material
static final TypedKey
<DataComponentType> DataComponentTypeKeys.RABBIT_VARIANT
minecraft:rabbit/variant
static final TypedKey
<DataComponentType> DataComponentTypeKeys.RARITY
minecraft:rarity
static final TypedKey
<DataComponentType> DataComponentTypeKeys.RECIPES
minecraft:recipes
static final TypedKey
<DataComponentType> DataComponentTypeKeys.REPAIR_COST
minecraft:repair_cost
static final TypedKey
<DataComponentType> DataComponentTypeKeys.REPAIRABLE
minecraft:repairable
static final TypedKey
<DataComponentType> DataComponentTypeKeys.SALMON_SIZE
minecraft:salmon/size
static final TypedKey
<DataComponentType> DataComponentTypeKeys.SHEEP_COLOR
minecraft:sheep/color
static final TypedKey
<DataComponentType> DataComponentTypeKeys.SHULKER_COLOR
minecraft:shulker/color
static final TypedKey
<DataComponentType> DataComponentTypeKeys.STORED_ENCHANTMENTS
minecraft:stored_enchantments
static final TypedKey
<DataComponentType> DataComponentTypeKeys.SUSPICIOUS_STEW_EFFECTS
minecraft:suspicious_stew_effects
static final TypedKey
<DataComponentType> DataComponentTypeKeys.TOOL
minecraft:tool
static final TypedKey
<DataComponentType> DataComponentTypeKeys.TOOLTIP_DISPLAY
minecraft:tooltip_display
static final TypedKey
<DataComponentType> DataComponentTypeKeys.TOOLTIP_STYLE
minecraft:tooltip_style
static final TypedKey
<DataComponentType> DataComponentTypeKeys.TRIM
minecraft:trim
static final TypedKey
<DataComponentType> DataComponentTypeKeys.TROPICAL_FISH_BASE_COLOR
minecraft:tropical_fish/base_color
static final TypedKey
<DataComponentType> DataComponentTypeKeys.TROPICAL_FISH_PATTERN
minecraft:tropical_fish/pattern
static final TypedKey
<DataComponentType> DataComponentTypeKeys.TROPICAL_FISH_PATTERN_COLOR
minecraft:tropical_fish/pattern_color
static final TypedKey
<DataComponentType> DataComponentTypeKeys.UNBREAKABLE
minecraft:unbreakable
static final TypedKey
<DataComponentType> DataComponentTypeKeys.USE_COOLDOWN
minecraft:use_cooldown
static final TypedKey
<DataComponentType> DataComponentTypeKeys.USE_REMAINDER
minecraft:use_remainder
static final TypedKey
<DataComponentType> DataComponentTypeKeys.VILLAGER_VARIANT
minecraft:villager/variant
static final TypedKey
<DataComponentType> DataComponentTypeKeys.WEAPON
minecraft:weapon
static final TypedKey
<DataComponentType> DataComponentTypeKeys.WOLF_COLLAR
minecraft:wolf/collar
static final TypedKey
<DataComponentType> DataComponentTypeKeys.WOLF_SOUND_VARIANT
minecraft:wolf/sound_variant
static final TypedKey
<DataComponentType> DataComponentTypeKeys.WOLF_VARIANT
minecraft:wolf/variant
static final TypedKey
<DataComponentType> DataComponentTypeKeys.WRITABLE_BOOK_CONTENT
minecraft:writable_book_content
static final TypedKey
<DataComponentType> DataComponentTypeKeys.WRITTEN_BOOK_CONTENT
minecraft: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_TYPE
Data 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 TypeMethodDescriptionboolean
Material.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 TypeMethodDescriptionboolean
ItemStack.hasData
(@NotNull DataComponentType type) Checks if the data component type is set on the itemstack.boolean
ItemType.hasDefaultData
(@NotNull DataComponentType type) Checks if the data component type has a default value for this item type.boolean
ItemStack.isDataOverridden
(@NotNull DataComponentType type) Checks if the data component type is overridden from the default for the item type.void
ItemStack.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)
.void
ItemStack.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 TypeMethodDescriptionvoid
ItemStack.copyDataFrom
(@NotNull ItemStack source, @NotNull Predicate<@NotNull DataComponentType> filter) Copies component values and component removals from the provided ItemStack.boolean
ItemStack.matchesWithoutData
(@NotNull ItemStack item, Set<@NotNull DataComponentType> excludeTypes) Checks if this itemstack matches another given itemstack excluding the provided components.boolean
ItemStack.matchesWithoutData
(@NotNull ItemStack item, Set<@NotNull DataComponentType> excludeTypes, boolean ignoreCount) Checks if this itemstack matches another given itemstack excluding the provided components.