package io.papermc.paper.datacomponent.item;

import java.util.List;
import org.bukkit.craftbukkit.util.Handleable;

public record PaperCustomModelData(
    net.minecraft.world.item.component.CustomModelData impl
) implements CustomModelData, Handleable<net.minecraft.world.item.component.CustomModelData> {

    @Override
    public net.minecraft.world.item.component.CustomModelData getHandle() {
        return this.impl;
    }

    @Override
    public List<Float> floats() {
        return this.impl.floats();
    }

    @Override
    public List<Boolean> flags() {
        return this.impl.flags();
    }

    @Override
    public List<String> strings() {
        return this.impl.strings();
    }

    @Override
    public List<Integer> colors() {
        return this.impl.colors();
    }
}
