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 interface -
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 org.bukkit
Fields in org.bukkit with type parameters of type DataComponentTypeModifier and TypeFieldDescriptionstatic final Registry<DataComponentType> Registry.DATA_COMPONENT_TYPEMethods 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(@NotNull 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 TypeMethodDescriptionbooleanItemStack.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.