Package net.minestom.server.entity
Class MetadataHolder
java.lang.Object
net.minestom.server.entity.MetadataHolder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EntityMeta
createMeta
(@NotNull EntityType entityType, @Nullable Entity entity, @NotNull MetadataHolder metadata) <T> T
get
(@NotNull MetadataDef.Entry<T> entry) @NotNull Map
<Integer, Metadata.Entry<?>> <T> void
set
(@NotNull MetadataDef.Entry<T> entry, T value) void
setNotifyAboutChanges
(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)
-