21 lines
362 B
Java
21 lines
362 B
Java
package us.myles.ViaVersion.api.minecraft.metadata;
|
|
|
|
import us.myles.ViaVersion.api.type.Type;
|
|
|
|
public interface MetaType {
|
|
|
|
/**
|
|
* Get the write/read type
|
|
*
|
|
* @return Type instance
|
|
*/
|
|
Type getType();
|
|
|
|
/**
|
|
* Get type id from the specific MetaDataType
|
|
*
|
|
* @return Type id as an integer
|
|
*/
|
|
int getTypeID();
|
|
}
|