src/main/java/me/hyfe/simplespigot/nbt/enums/NbtType.java
/**
     * @param id Internal Minecraft id
     * @return Enum representing the id, NBTTagEnd for invalid ids
     */
@param id Internal Minecraft id
@return Enum representing the id, NBTTagEnd for invalid ids
@param id Internal Minecraft id @return Enum representing the id NBTTagEnd for invalid ids
public static NbtType parse(int id) {
        for (NbtType type : values()) {
            if (type.getId() == id) {
                return type;
            }
        }
        return NbtType.NBTTagEnd;
    }
public static NbtType parse ( int id ) { for ( NbtType type : values ( ) ) { if ( type . getId ( ) == id ) { return type ; } } return NbtType . NBTTagEnd ; }
@param id Internal Minecraft id
 @return Enum representing the id, NBTTagEnd for invalid ids
@param id Internal Minecraft id @return Enum representing the id NBTTagEnd for invalid ids