All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.minestom.server.item.component.ItemRarity Maven / Gradle / Ivy

There is a newer version: 7320437640
Show newest version
package net.minestom.server.item.component;

import net.minestom.server.network.NetworkBuffer;
import net.minestom.server.utils.nbt.BinaryTagSerializer;

public enum ItemRarity {
    COMMON,
    UNCOMMON,
    RARE,
    EPIC;

    private static final ItemRarity[] VALUES = values();

    public static final NetworkBuffer.Type NETWORK_TYPE = NetworkBuffer.Enum(ItemRarity.class);
    public static final BinaryTagSerializer NBT_TYPE = BinaryTagSerializer.fromEnumStringable(ItemRarity.class);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy