Package net.minestom.server.entity
Class MetadataHolder
java.lang.Object
net.minestom.server.entity.MetadataHolder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Map
<Integer, Metadata.Entry<?>> <T> T
getIndex
(int index, T defaultValue) void
setIndex
(int index, Metadata.Entry<?> entry) void
setNotifyAboutChanges
(boolean notifyAboutChanges)
-
Constructor Details
-
MetadataHolder
-
-
Method Details
-
getIndex
public <T> T getIndex(int index, @Nullable T defaultValue) -
setIndex
-
setNotifyAboutChanges
public void setNotifyAboutChanges(boolean notifyAboutChanges) -
getEntries
-