Class DataComponents
java.lang.Object
eu.sculkpowered.server.container.item.data.DataComponents
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull CompoundBinaryTag
asNBT()
static DataComponents.Builder
builder()
Map
<DataComponentType<?>, Optional<?>> static @NotNull DataComponents
empty()
boolean
static @NotNull DataComponents
from
(@NotNull Map<DataComponentType<?>, Optional<?>> components) static @NotNull DataComponents
from
(@NotNull CompoundBinaryTag compoundTag) <T> @Nullable Optional
<T> get
(@NotNull DataComponentType<T> type) toString()
-
Method Details
-
components
-
asNBT
-
equals
-
toString
-
toBuilder
-
get
-
empty
-
from
@NotNull public static @NotNull DataComponents from(@NotNull @NotNull Map<DataComponentType<?>, Optional<?>> components) -
from
@NotNull public static @NotNull DataComponents from(@NotNull @NotNull CompoundBinaryTag compoundTag) -
builder
-