Package org.geysermc.geyser.entity
Class GeyserDirtyMetadata
java.lang.Object
org.geysermc.geyser.entity.GeyserDirtyMetadata
A write-only wrapper for temporarily storing entity metadata that will be sent to Bedrock.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply(com.nukkitx.protocol.bedrock.data.entity.EntityDataMap map)
Applies the contents of the dirty metadata into the input and clears the contents of our map.boolean
void
-
Constructor Details
-
GeyserDirtyMetadata
public GeyserDirtyMetadata()
-
-
Method Details
-
put
-
apply
public void apply(com.nukkitx.protocol.bedrock.data.entity.EntityDataMap map)Applies the contents of the dirty metadata into the input and clears the contents of our map. -
hasEntries
public boolean hasEntries()
-