cn.nukkit.metadata.Metadatable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powernukkit Show documentation
Show all versions of powernukkit Show documentation
A Minecraft Bedrock Edition server software implementation made in Java from scratch which supports all new features.
package cn.nukkit.metadata;
import cn.nukkit.plugin.Plugin;
import java.util.List;
/**
* @author MagicDroidX (Nukkit Project)
*/
public interface Metadatable {
void setMetadata(String metadataKey, MetadataValue newMetadataValue) throws Exception;
List getMetadata(String metadataKey) throws Exception;
boolean hasMetadata(String metadataKey) throws Exception;
void removeMetadata(String metadataKey, Plugin owningPlugin) throws Exception;
}