Package net.minestom.server.entity
Class MetadataHolder
java.lang.Object
net.minestom.server.entity.MetadataHolder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityMetacreateMeta(@NotNull EntityType entityType, @Nullable Entity entity, @NotNull MetadataHolder metadata) <T> Tget(@NotNull MetadataDef.Entry<T> entry) @NotNull Map<Integer, Metadata.Entry<?>> <T> voidset(@NotNull MetadataDef.Entry<T> entry, T value) voidsetNotifyAboutChanges(boolean notifyAboutChanges)
-
Constructor Details
-
MetadataHolder
-
-
Method Details
-
get
-
set
-
setNotifyAboutChanges
public void setNotifyAboutChanges(boolean notifyAboutChanges) -
getEntries
-
createMeta
@Internal public static EntityMeta createMeta(@NotNull @NotNull EntityType entityType, @Nullable @Nullable Entity entity, @NotNull @NotNull MetadataHolder metadata)
-