Package io.papermc.paper.datacomponent
Interface DataComponentType
- All Known Subinterfaces:
DataComponentType.NonValued
,DataComponentType.Valued<T>
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if this data component type is persistent, or that it will be saved with any itemstack it's attached to.
-
Method Details
-
isPersistent
boolean isPersistent()Checks if this data component type is persistent, or that it will be saved with any itemstack it's attached to.- Returns:
true
if persistent,false
otherwise
-