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";
	}
}
@@ -50,119 +50,122 @@
 ort 
-protocolsupport.api.unsafe.pemetadata.PEMetaProvider;%0Aimport protocolsupport.protocol.utils.types.NetworkEntity
+java.util.UUID;%0A%0Aimport org.bukkit.entity.EntityType;%0A%0Aimport protocolsupport.api.unsafe.pemetadata.PEMetaProvider
 ;%0Aim
@@ -274,17 +274,16 @@
 vider %7B%0A
-%09
 %0A%09@Overr
@@ -298,55 +298,173 @@
 lic 
-float getEntitySize(NetworkEntity networkE
+String getUseText(UUID uuid, int id, EntityType entitytype) %7B%0A%09%09return %22Interact%22;%0A%09%7D%0A%0A%09@Override%0A%09public float getSizeScale(UUID uuid, int id, EntityType e
 ntity
+type
 ) %7B%0A
@@ -499,37 +499,18 @@
 omScale(
-networkEntity.getId()
+id
 ) ? Pock
@@ -536,127 +536,18 @@
 ale(
-networkEntity.getId()) : 1;%0A%09%7D%0A%0A%09@Override%0A%09public String getInteractText(NetworkEntity entity) %7B%0A%09%09return %22Interact%22;%0A%09%7D
+id) : 1;%0A%09%7D%0A
 %0A%7D

Update to latest Unsafe api.