package top.r3944realms.lib39.example.content.item;

import net.fabricmc.fabric.api.lookup.v1.entity.EntityApiLookup;
import net.minecraft.world.entity.Entity;
import top.r3944realms.lib39.example.content.data.AbstractedTestSyncData;
import top.r3944realms.lib39.example.content.data.FabricTestSyncData;

/**
 * The type Fabric neo forge item.
 */
public class FabricNeoForgeItem extends AbstractNeoForgeItem {

    /**
     * Instantiates a new Fabric neo forge item.
     *
     * @param properties the properties
     */
    public FabricNeoForgeItem(Properties properties) {
        super(properties);
    }

    @Override
    protected AbstractedTestSyncData getData(Entity entity) {
        return EntityApiLookup.get(FabricTestSyncData.ID, AbstractedTestSyncData.class, Void.class).find(entity, null);
    }
}
