package protocolsupportpocketstuff.metadata;

import protocolsupport.api.unsafe.pemetadata.PEMetaProvider;
import protocolsupport.protocol.utils.types.NetworkEntity;
import protocolsupportpocketstuff.api.util.PocketUtils;

public class MetadataProvider extends PEMetaProvider {
	
	@Override
	public float getEntitySize(NetworkEntity networkEntity) {
		return PocketUtils.hasCustomScale(networkEntity.getId()) ? PocketUtils.getCustomScale(networkEntity.getId()) : 1;
	}

	@Override
	public String getInteractText(NetworkEntity entity) {
		return "Interact";
	}
}
package protocolsupportpocketstuff.metadata;

import java.util.UUID;

import org.bukkit.entity.EntityType;

import protocolsupport.api.unsafe.pemetadata.PEMetaProvider;
import protocolsupportpocketstuff.api.util.PocketUtils;

public class MetadataProvider extends PEMetaProvider {

	@Override
	public String getUseText(UUID uuid, int id, EntityType entitytype) {
		return "Interact";
	}

	@Override
	public float getSizeScale(UUID uuid, int id, EntityType entitytype) {
		return PocketUtils.hasCustomScale(id) ? PocketUtils.getCustomScale(id) : 1;
	}

}
Update to latest Unsafe api.